mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
Browser: Remove residual InProcessWebView code from DOM Inspector
This is no longer useful, and has to go before I can change how the Models work.
This commit is contained in:
parent
1159eefff3
commit
08aa7b77a7
2 changed files with 4 additions and 49 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -16,9 +17,7 @@ class InspectorWidget final : public GUI::Widget {
|
|||
public:
|
||||
virtual ~InspectorWidget();
|
||||
|
||||
void set_document(Web::DOM::Document*);
|
||||
void set_dom_json(String);
|
||||
void set_inspected_node(Web::DOM::Node*);
|
||||
|
||||
private:
|
||||
InspectorWidget();
|
||||
|
@ -30,11 +29,6 @@ private:
|
|||
RefPtr<GUI::TableView> m_style_table_view;
|
||||
RefPtr<GUI::TableView> m_computed_style_table_view;
|
||||
|
||||
RefPtr<Web::DOM::Node> m_inspected_node;
|
||||
|
||||
// One of these will be available, depending on if we're
|
||||
// in-process (m_document) or out-of-process (m_dom_json)
|
||||
RefPtr<Web::DOM::Document> m_document;
|
||||
Optional<String> m_dom_json;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue