| 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 |
| 137 private: | 139 private: |
| 138 InspectorController(Page*, InspectorClient*); | 140 InspectorController(Page*, InspectorClient*); |
| 139 | 141 |
| 140 void initializeDeferredAgents(); | 142 void initializeDeferredAgents(); |
| 141 | 143 |
| 142 friend InstrumentingAgents* instrumentationForPage(Page*); | 144 friend InstrumentingAgents* instrumentationForPage(Page*); |
| 143 | 145 |
| 144 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 146 RefPtr<InstrumentingAgents> m_instrumentingAgents; |
| 145 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 147 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
| 146 OwnPtr<InspectorCompositeState> m_state; | 148 OwnPtr<InspectorCompositeState> m_state; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 159 InspectorAgentRegistry m_agents; | 161 InspectorAgentRegistry m_agents; |
| 160 Vector<InspectorAgent*> m_moduleAgents; | 162 Vector<InspectorAgent*> m_moduleAgents; |
| 161 bool m_isUnderTest; | 163 bool m_isUnderTest; |
| 162 bool m_deferredAgentsInitialized; | 164 bool m_deferredAgentsInitialized; |
| 163 }; | 165 }; |
| 164 | 166 |
| 165 } | 167 } |
| 166 | 168 |
| 167 | 169 |
| 168 #endif // !defined(InspectorController_h) | 170 #endif // !defined(InspectorController_h) |
| OLD | NEW |