Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: third_party/WebKit/Source/web/InspectorRenderingAgent.h

Issue 2819183002: [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: rebased bad merge Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/InspectorRenderingAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorRenderingAgent.h b/third_party/WebKit/Source/web/InspectorRenderingAgent.h
deleted file mode 100644
index a22ba791a4a387eb4493205d8a75890192d97f1c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/web/InspectorRenderingAgent.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef InspectorRenderingAgent_h
-#define InspectorRenderingAgent_h
-
-#include "core/inspector/InspectorBaseAgent.h"
-#include "core/inspector/protocol/Rendering.h"
-
-namespace blink {
-
-class InspectorOverlay;
-class WebLocalFrameImpl;
-class WebViewImpl;
-
-class InspectorRenderingAgent final
- : public InspectorBaseAgent<protocol::Rendering::Metainfo> {
- WTF_MAKE_NONCOPYABLE(InspectorRenderingAgent);
-
- public:
- static InspectorRenderingAgent* Create(WebLocalFrameImpl*, InspectorOverlay*);
-
- // protocol::Dispatcher::PageCommandHandler implementation.
- protocol::Response setShowPaintRects(bool) override;
- protocol::Response setShowDebugBorders(bool) override;
- protocol::Response setShowFPSCounter(bool) override;
- protocol::Response setShowScrollBottleneckRects(bool) override;
- protocol::Response setShowViewportSizeOnResize(bool) override;
-
- // InspectorBaseAgent overrides.
- protocol::Response disable() override;
- void Restore() override;
-
- DECLARE_VIRTUAL_TRACE();
-
- private:
- InspectorRenderingAgent(WebLocalFrameImpl*, InspectorOverlay*);
- protocol::Response CompositingEnabled();
- WebViewImpl* GetWebViewImpl();
-
- Member<WebLocalFrameImpl> web_local_frame_impl_;
- Member<InspectorOverlay> overlay_;
-};
-
-} // namespace blink
-
-#endif // !defined(InspectorRenderingAgent_h)
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlayAgent.cpp ('k') | third_party/WebKit/Source/web/InspectorRenderingAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698