mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
1682f0b760
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
34 lines
696 B
C++
34 lines
696 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Widget.h>
|
|
#include <LibWeb/Forward.h>
|
|
|
|
namespace Browser {
|
|
|
|
class InspectorWidget final : public GUI::Widget {
|
|
C_OBJECT(InspectorWidget)
|
|
public:
|
|
virtual ~InspectorWidget();
|
|
|
|
void set_document(Web::DOM::Document*);
|
|
|
|
private:
|
|
InspectorWidget();
|
|
|
|
void set_inspected_node(Web::DOM::Node*);
|
|
|
|
RefPtr<GUI::TreeView> m_dom_tree_view;
|
|
RefPtr<GUI::TreeView> m_layout_tree_view;
|
|
RefPtr<GUI::TableView> m_style_table_view;
|
|
RefPtr<GUI::TableView> m_computed_style_table_view;
|
|
RefPtr<Web::DOM::Document> m_document;
|
|
};
|
|
|
|
}
|