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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorOverlayHost.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/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 0d5d4be368563e7f4d20180b386672c7a7f8c2ac..167833c460b40a450d2df7c6b417cc0828540859 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.h
@@ -40,23 +40,20 @@ class CORE_EXPORT InspectorOverlayHost final
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;
};
- void SetListener(Listener* listener) { listener_ = listener; }
- private:
- InspectorOverlayHost();
+ explicit InspectorOverlayHost(Listener*);
+ DECLARE_TRACE();
+ void resume();
+ void stepOver();
+
+ private:
Member<Listener> listener_;
};

Powered by Google App Engine
This is Rietveld 408576698