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

Side by Side Diff: Source/web/InspectorOverlayImpl.h

Issue 1322593003: [DevTools] Remove InspectorOverlayHost::LayoutEditorListener. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/LayoutEditor.h ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class Node; 60 class Node;
61 class Page; 61 class Page;
62 class PageOverlay; 62 class PageOverlay;
63 class WebViewImpl; 63 class WebViewImpl;
64 64
65 class InspectorOverlayImpl final 65 class InspectorOverlayImpl final
66 : public NoBaseWillBeGarbageCollectedFinalized<InspectorOverlayImpl> 66 : public NoBaseWillBeGarbageCollectedFinalized<InspectorOverlayImpl>
67 , public InspectorDOMAgent::Client 67 , public InspectorDOMAgent::Client
68 , public InspectorPageAgent::Client 68 , public InspectorPageAgent::Client
69 , public InspectorProfilerAgent::Client 69 , public InspectorProfilerAgent::Client
70 , public InspectorOverlayHost::DebuggerListener { 70 , public InspectorOverlayHost::Listener {
71 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorOverlayImpl); 71 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorOverlayImpl);
72 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl); 72 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl);
73 public: 73 public:
74 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(WebViewImpl* webV iewImpl) 74 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(WebViewImpl* webV iewImpl)
75 { 75 {
76 return adoptPtrWillBeNoop(new InspectorOverlayImpl(webViewImpl)); 76 return adoptPtrWillBeNoop(new InspectorOverlayImpl(webViewImpl));
77 } 77 }
78 78
79 ~InspectorOverlayImpl() override; 79 ~InspectorOverlayImpl() override;
80 DECLARE_TRACE(); 80 DECLARE_TRACE();
81 81
82 void init(InspectorCSSAgent*, InspectorDebuggerAgent*); 82 void init(InspectorCSSAgent*, InspectorDebuggerAgent*);
83 83
84 void update(); 84 void update();
85 void clear(); 85 void clear();
86 bool handleInputEvent(const WebInputEvent&); 86 bool handleInputEvent(const WebInputEvent&);
87 void layout(); 87 void layout();
88 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; 88 PageOverlay* pageOverlay() { return m_pageOverlay.get(); };
89 89
90 private: 90 private:
91 explicit InspectorOverlayImpl(WebViewImpl*); 91 explicit InspectorOverlayImpl(WebViewImpl*);
92 class InspectorOverlayChromeClient; 92 class InspectorOverlayChromeClient;
93 class InspectorPageOverlayDelegate; 93 class InspectorPageOverlayDelegate;
94 94
95 // InspectorOverlayHost::DebuggerListener implementation. 95 // InspectorOverlayHost::Listener implementation.
96 void overlayResumed() override; 96 void overlayResumed() override;
97 void overlaySteppedOver() override; 97 void overlaySteppedOver() override;
98 void overlayStartedPropertyChange(const String&) override;
99 void overlayPropertyChanged(float) override;
100 void overlayEndedPropertyChange() override;
98 101
99 // InspectorProfilerAgent::Client implementation. 102 // InspectorProfilerAgent::Client implementation.
100 void profilingStarted() override; 103 void profilingStarted() override;
101 void profilingStopped() override; 104 void profilingStopped() override;
102 105
103 // InspectorPageAgent::Client implementation. 106 // InspectorPageAgent::Client implementation.
104 void pageLayoutInvalidated(bool resized) override; 107 void pageLayoutInvalidated(bool resized) override;
105 void setShowViewportSizeOnResize(bool show, bool showGrid) override; 108 void setShowViewportSizeOnResize(bool show, bool showGrid) override;
106 void setPausedInDebuggerMessage(const String*) override; 109 void setPausedInDebuggerMessage(const String*) override;
107 110
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 bool m_needsUpdate; 150 bool m_needsUpdate;
148 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; 151 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent;
149 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; 152 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor;
150 OwnPtr<PageOverlay> m_pageOverlay; 153 OwnPtr<PageOverlay> m_pageOverlay;
151 }; 154 };
152 155
153 } // namespace blink 156 } // namespace blink
154 157
155 158
156 #endif // InspectorOverlayImpl_h 159 #endif // InspectorOverlayImpl_h
OLDNEW
« no previous file with comments | « Source/core/inspector/LayoutEditor.h ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698