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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h

Issue 2826833002: Revert of [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: 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/core/inspector/InspectorOverlayHost.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h b/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h
index 167833c460b40a450d2df7c6b417cc0828540859..0d5d4be368563e7f4d20180b386672c7a7f8c2ac 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h
@@ -40,20 +40,23 @@
DEFINE_WRAPPERTYPEINFO();
public:
+ static InspectorOverlayHost* Create() { return new InspectorOverlayHost(); }
+ DECLARE_TRACE();
+
+ void resume();
+ void stepOver();
+
class Listener : public GarbageCollectedMixin {
public:
virtual ~Listener() {}
virtual void OverlayResumed() = 0;
virtual void OverlaySteppedOver() = 0;
};
-
- explicit InspectorOverlayHost(Listener*);
- DECLARE_TRACE();
-
- void resume();
- void stepOver();
+ void SetListener(Listener* listener) { listener_ = listener; }
private:
+ InspectorOverlayHost();
+
Member<Listener> listener_;
};

Powered by Google App Engine
This is Rietveld 408576698