OLD | NEW |
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 bool isUnderTest(); | 115 bool isUnderTest(); |
116 void evaluateForTestInFrontend(long callId, const String& script); | 116 void evaluateForTestInFrontend(long callId, const String& script); |
117 | 117 |
118 void resume(); | 118 void resume(); |
119 | 119 |
120 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); | 120 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); |
121 | 121 |
122 void willProcessTask(); | 122 void willProcessTask(); |
123 void didProcessTask(); | 123 void didProcessTask(); |
124 void flushPendingFrontendMessages(); | |
125 | 124 |
126 void didCommitLoadForMainFrame(); | 125 void didCommitLoadForMainFrame(); |
127 void didBeginFrame(int frameId); | 126 void didBeginFrame(int frameId); |
128 void didCancelFrame(); | 127 void didCancelFrame(); |
129 void willComposite(); | 128 void willComposite(); |
130 void didComposite(); | 129 void didComposite(); |
131 | 130 |
132 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); |
133 | 132 |
134 void scriptsEnabled(bool); | 133 void scriptsEnabled(bool); |
135 | 134 |
136 void willAddPageOverlay(const GraphicsLayer*); | 135 void willAddPageOverlay(const GraphicsLayer*); |
137 void didRemovePageOverlay(const GraphicsLayer*); | 136 void didRemovePageOverlay(const GraphicsLayer*); |
138 | |
139 | |
140 private: | 137 private: |
141 InspectorController(Page*, InspectorClient*); | 138 InspectorController(Page*, InspectorClient*); |
142 | 139 |
143 void initializeDeferredAgents(); | 140 void initializeDeferredAgents(); |
144 | 141 |
145 friend InstrumentingAgents* instrumentationForPage(Page*); | 142 friend InstrumentingAgents* instrumentationForPage(Page*); |
146 | 143 |
147 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 144 RefPtr<InstrumentingAgents> m_instrumentingAgents; |
148 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 145 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
149 OwnPtr<InspectorCompositeState> m_state; | 146 OwnPtr<InspectorCompositeState> m_state; |
(...skipping 12 matching lines...) Expand all Loading... |
162 InspectorAgentRegistry m_agents; | 159 InspectorAgentRegistry m_agents; |
163 Vector<InspectorAgent*> m_moduleAgents; | 160 Vector<InspectorAgent*> m_moduleAgents; |
164 bool m_isUnderTest; | 161 bool m_isUnderTest; |
165 bool m_deferredAgentsInitialized; | 162 bool m_deferredAgentsInitialized; |
166 }; | 163 }; |
167 | 164 |
168 } | 165 } |
169 | 166 |
170 | 167 |
171 #endif // !defined(InspectorController_h) | 168 #endif // !defined(InspectorController_h) |
OLD | NEW |