1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:47:35 +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:
Sam Atkins 2021-09-02 12:01:19 +01:00 committed by Andreas Kling
parent 1159eefff3
commit 08aa7b77a7
2 changed files with 4 additions and 49 deletions

View file

@ -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;
};