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

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

Issue 1322593003: [DevTools] Remove InspectorOverlayHost::LayoutEditorListener. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 4 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/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 61c6009c8c9a45efe25abe847c85d5f13eea2381..cb53b318fe5e525f9af0b206f593c5d884721735 100644
--- a/Source/core/inspector/InspectorOverlayHost.h
+++ b/Source/core/inspector/InspectorOverlayHost.h
@@ -52,28 +52,21 @@ public:
void changeProperty(float delta);
void endPropertyChange();
- class DebuggerListener : public WillBeGarbageCollectedMixin {
+ class Listener : public WillBeGarbageCollectedMixin {
public:
- virtual ~DebuggerListener() { }
+ virtual ~Listener() { }
virtual void overlayResumed() = 0;
virtual void overlaySteppedOver() = 0;
- };
- void setDebuggerListener(DebuggerListener* listener) { m_debuggerListener = listener; }
-
- class CORE_EXPORT LayoutEditorListener : public WillBeGarbageCollectedMixin {
- public:
- virtual ~LayoutEditorListener() { }
virtual void overlayStartedPropertyChange(const String&) = 0;
virtual void overlayPropertyChanged(float cssDelta) = 0;
virtual void overlayEndedPropertyChange() = 0;
};
- void setLayoutEditorListener(LayoutEditorListener* listener) { m_layoutEditorListener = listener; }
+ void setListener(Listener* listener) { m_listener = listener; }
private:
InspectorOverlayHost();
- RawPtrWillBeMember<DebuggerListener> m_debuggerListener;
- RawPtrWillBeMember<LayoutEditorListener> m_layoutEditorListener;
+ RawPtrWillBeMember<Listener> m_listener;
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorOverlayHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698