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

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

Issue 1153503010: Devtools: Margin resizer in overlay experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/inspector/InspectorOverlay.h ('k') | Source/core/inspector/InspectorOverlayHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorOverlayHost.h
diff --git a/Source/core/inspector/InspectorOverlayHost.h b/Source/core/inspector/InspectorOverlayHost.h
index 58c61b4beef28164d3fa5fc6365e2f88e3198b9e..51b0c93b613428e5d6c729546ea8597b5847889d 100644
--- a/Source/core/inspector/InspectorOverlayHost.h
+++ b/Source/core/inspector/InspectorOverlayHost.h
@@ -48,6 +48,7 @@ public:
void resume();
void stepOver();
+ void updateCSSProperty(long newValue);
class Listener : public WillBeGarbageCollectedMixin {
public:
@@ -57,10 +58,19 @@ public:
};
void setListener(Listener* listener) { m_listener = listener; }
+ class CSSListener : public WillBeGarbageCollectedMixin {
+ public:
+ virtual ~CSSListener() { }
+ virtual void updateCSSProperty(long newValue) = 0;
+ };
+ void setCSSListener(CSSListener* listener) { m_cssListener = listener; }
+
+
private:
InspectorOverlayHost();
RawPtrWillBeMember<Listener> m_listener;
+ RawPtrWillBeMember<CSSListener> m_cssListener;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorOverlay.h ('k') | Source/core/inspector/InspectorOverlayHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698