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

Side by Side Diff: Source/core/inspector/InspectorController.h

Issue 173763002: DevTools: hide page overlay layers in LayerTreeAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed stray watchdog from test Created 6 years, 10 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
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "wtf/HashMap.h" 36 #include "wtf/HashMap.h"
37 #include "wtf/Noncopyable.h" 37 #include "wtf/Noncopyable.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 class DOMWrapperWorld; 43 class DOMWrapperWorld;
44 class Frame; 44 class Frame;
45 class GraphicsContext; 45 class GraphicsContext;
46 class GraphicsLayer;
46 class InjectedScriptManager; 47 class InjectedScriptManager;
47 class InspectorBackendDispatcher; 48 class InspectorBackendDispatcher;
48 class InspectorAgent; 49 class InspectorAgent;
49 class InspectorClient; 50 class InspectorClient;
50 class InspectorDOMAgent; 51 class InspectorDOMAgent;
51 class InspectorFrontend; 52 class InspectorFrontend;
52 class InspectorFrontendChannel; 53 class InspectorFrontendChannel;
53 class InspectorFrontendClient; 54 class InspectorFrontendClient;
55 class InspectorLayerTreeAgent;
54 class InspectorPageAgent; 56 class InspectorPageAgent;
55 class InspectorTimelineAgent; 57 class InspectorTimelineAgent;
56 class InspectorOverlay; 58 class InspectorOverlay;
57 class InspectorState; 59 class InspectorState;
58 class InstrumentingAgents; 60 class InstrumentingAgents;
59 class IntPoint; 61 class IntPoint;
60 class IntSize; 62 class IntSize;
61 class Page; 63 class Page;
62 class PlatformGestureEvent; 64 class PlatformGestureEvent;
63 class PlatformKeyboardEvent; 65 class PlatformKeyboardEvent;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void didCommitLoadForMainFrame(); 125 void didCommitLoadForMainFrame();
124 void didBeginFrame(int frameId); 126 void didBeginFrame(int frameId);
125 void didCancelFrame(); 127 void didCancelFrame();
126 void willComposite(); 128 void willComposite();
127 void didComposite(); 129 void didComposite();
128 130
129 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG PUMemoryBytes); 131 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG PUMemoryBytes);
130 132
131 void scriptsEnabled(bool); 133 void scriptsEnabled(bool);
132 134
135 void willAddPageOverlay(const GraphicsLayer*);
136 void didRemovePageOverlay(const GraphicsLayer*);
133 private: 137 private:
134 InspectorController(Page*, InspectorClient*); 138 InspectorController(Page*, InspectorClient*);
135 139
136 void initializeDeferredAgents(); 140 void initializeDeferredAgents();
137 141
138 friend InstrumentingAgents* instrumentationForPage(Page*); 142 friend InstrumentingAgents* instrumentationForPage(Page*);
139 143
140 RefPtr<InstrumentingAgents> m_instrumentingAgents; 144 RefPtr<InstrumentingAgents> m_instrumentingAgents;
141 OwnPtr<InjectedScriptManager> m_injectedScriptManager; 145 OwnPtr<InjectedScriptManager> m_injectedScriptManager;
142 OwnPtr<InspectorCompositeState> m_state; 146 OwnPtr<InspectorCompositeState> m_state;
143 OwnPtr<InspectorOverlay> m_overlay; 147 OwnPtr<InspectorOverlay> m_overlay;
144 148
145 InspectorDOMAgent* m_domAgent; 149 InspectorDOMAgent* m_domAgent;
146 InspectorPageAgent* m_pageAgent; 150 InspectorPageAgent* m_pageAgent;
147 InspectorTimelineAgent* m_timelineAgent; 151 InspectorTimelineAgent* m_timelineAgent;
152 InspectorLayerTreeAgent* m_layerTreeAgent;
148 153
149 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; 154 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
150 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; 155 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;
151 OwnPtr<InspectorFrontend> m_inspectorFrontend; 156 OwnPtr<InspectorFrontend> m_inspectorFrontend;
152 Page* m_page; 157 Page* m_page;
153 InspectorClient* m_inspectorClient; 158 InspectorClient* m_inspectorClient;
154 InspectorAgentRegistry m_agents; 159 InspectorAgentRegistry m_agents;
155 Vector<InspectorAgent*> m_moduleAgents; 160 Vector<InspectorAgent*> m_moduleAgents;
156 bool m_isUnderTest; 161 bool m_isUnderTest;
157 bool m_deferredAgentsInitialized; 162 bool m_deferredAgentsInitialized;
158 }; 163 };
159 164
160 } 165 }
161 166
162 167
163 #endif // !defined(InspectorController_h) 168 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « LayoutTests/inspector/resources/composited-iframe.html ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698