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(); |
124 | 125 |
125 void didCommitLoadForMainFrame(); | 126 void didCommitLoadForMainFrame(); |
126 void didBeginFrame(int frameId); | 127 void didBeginFrame(int frameId); |
127 void didCancelFrame(); | 128 void didCancelFrame(); |
128 void willComposite(); | 129 void willComposite(); |
129 void didComposite(); | 130 void didComposite(); |
130 | 131 |
131 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG
PUMemoryBytes); | 132 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG
PUMemoryBytes); |
132 | 133 |
133 void scriptsEnabled(bool); | 134 void scriptsEnabled(bool); |
134 | 135 |
135 void willAddPageOverlay(const GraphicsLayer*); | 136 void willAddPageOverlay(const GraphicsLayer*); |
136 void didRemovePageOverlay(const GraphicsLayer*); | 137 void didRemovePageOverlay(const GraphicsLayer*); |
| 138 |
| 139 |
137 private: | 140 private: |
138 InspectorController(Page*, InspectorClient*); | 141 InspectorController(Page*, InspectorClient*); |
139 | 142 |
140 void initializeDeferredAgents(); | 143 void initializeDeferredAgents(); |
141 | 144 |
142 friend InstrumentingAgents* instrumentationForPage(Page*); | 145 friend InstrumentingAgents* instrumentationForPage(Page*); |
143 | 146 |
144 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 147 RefPtr<InstrumentingAgents> m_instrumentingAgents; |
145 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 148 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
146 OwnPtr<InspectorCompositeState> m_state; | 149 OwnPtr<InspectorCompositeState> m_state; |
(...skipping 12 matching lines...) Expand all Loading... |
159 InspectorAgentRegistry m_agents; | 162 InspectorAgentRegistry m_agents; |
160 Vector<InspectorAgent*> m_moduleAgents; | 163 Vector<InspectorAgent*> m_moduleAgents; |
161 bool m_isUnderTest; | 164 bool m_isUnderTest; |
162 bool m_deferredAgentsInitialized; | 165 bool m_deferredAgentsInitialized; |
163 }; | 166 }; |
164 | 167 |
165 } | 168 } |
166 | 169 |
167 | 170 |
168 #endif // !defined(InspectorController_h) | 171 #endif // !defined(InspectorController_h) |
OLD | NEW |