Chromium Code Reviews| Index: Source/core/inspector/InspectorOverlayHost.h |
| diff --git a/Source/core/inspector/InspectorOverlayHost.h b/Source/core/inspector/InspectorOverlayHost.h |
| index 58c61b4beef28164d3fa5fc6365e2f88e3198b9e..7059ef55adae55d4e857db11e7a30485e2b9e2fc 100644 |
| --- a/Source/core/inspector/InspectorOverlayHost.h |
| +++ b/Source/core/inspector/InspectorOverlayHost.h |
| @@ -48,6 +48,9 @@ public: |
| void resume(); |
| void stepOver(); |
| + void startPropertyChange(const String&); |
| + void changeProperty(float delta); |
| + void endPropertyChange(); |
| class Listener : public WillBeGarbageCollectedMixin { |
|
dgozman
2015/06/25 10:10:38
Let's rename to DebuggerListener.
sergeyv
2015/06/25 12:19:16
Done.
|
| public: |
| @@ -57,10 +60,21 @@ public: |
| }; |
| void setListener(Listener* listener) { m_listener = listener; } |
| + class LayoutEditorListener : public WillBeGarbageCollectedMixin { |
| + public: |
| + virtual ~LayoutEditorListener() { } |
| + virtual void overlayStartedPropertyChange(const String&) = 0; |
| + virtual void overlayPropertyChanged(float delta) = 0; |
|
dgozman
2015/06/25 10:10:38
cssDelta
sergeyv
2015/06/25 12:19:16
Done.
|
| + virtual void overlayEndedPropertyChange() = 0; |
| + }; |
| + void setLayoutEditorListener(LayoutEditorListener* listener) { m_layoutEditorListener = listener; } |
| + |
| private: |
| InspectorOverlayHost(); |
| RawPtrWillBeMember<Listener> m_listener; |
| + RawPtrWillBeMember<LayoutEditorListener> m_layoutEditorListener; |
| + |
| }; |
| } // namespace blink |