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

Unified Diff: Source/web/InspectorOverlayImpl.h

Issue 1264483002: PageOverlays: Remove PageOverlayList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorOverlayImpl.h
diff --git a/Source/web/InspectorOverlayImpl.h b/Source/web/InspectorOverlayImpl.h
index 58e2062cbdcc42c80a7c783ce9a72a71b1398f37..f95833829fe6325b841333d6d377be2266c196d5 100644
--- a/Source/web/InspectorOverlayImpl.h
+++ b/Source/web/InspectorOverlayImpl.h
@@ -38,7 +38,6 @@
#include "platform/graphics/Color.h"
#include "platform/heap/Handle.h"
#include "public/web/WebInputEvent.h"
-#include "public/web/WebPageOverlay.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
@@ -50,13 +49,15 @@ class Color;
class EmptyChromeClient;
class LocalFrame;
class GraphicsContext;
+class GraphicsLayer;
class JSONValue;
+class LayoutEditor;
class Node;
class Page;
+class PageOverlay;
class WebViewImpl;
-class LayoutEditor;
-class InspectorOverlayImpl final : public NoBaseWillBeGarbageCollectedFinalized<InspectorOverlayImpl>, public InspectorOverlay, public WebPageOverlay, public InspectorOverlayHost::DebuggerListener {
+class InspectorOverlayImpl final : public NoBaseWillBeGarbageCollectedFinalized<InspectorOverlayImpl>, public InspectorOverlay, public InspectorOverlayHost::DebuggerListener {
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorOverlayImpl);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl);
public:
@@ -87,16 +88,15 @@ public:
bool handleInputEvent(const WebInputEvent&);
void layout();
+ PageOverlay* pageOverlay() { return m_pageOverlay.get(); };
private:
explicit InspectorOverlayImpl(WebViewImpl*);
class InspectorOverlayChromeClient;
+ class InspectorPageOverlayDelegate;
// InspectorOverlayHost::DebuggerListener implementation.
void overlayResumed() override;
void overlaySteppedOver() override;
- // WebPageOverlay implementation.
- void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSize) override;
-
bool isEmpty();
void drawNodeHighlight();
void drawQuadHighlight();
@@ -132,6 +132,7 @@ private:
bool m_needsUpdate;
RawPtrWillBeMember<InspectorOverlay::Listener> m_listener;
OwnPtrWillBeMember<LayoutEditor> m_layoutEditor;
+ OwnPtr<PageOverlay> m_pageOverlay;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698