| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 119 void didBeginFrame(int frameId); | 119 void didBeginFrame(int frameId); |
| 120 void didCancelFrame(); | 120 void didCancelFrame(); |
| 121 void willComposite(); | 121 void willComposite(); |
| 122 void didComposite(); | 122 void didComposite(); |
| 123 | 123 |
| 124 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG
PUMemoryBytes); | 124 void processGPUEvent(double timestamp, int phase, bool foreign, size_t usedG
PUMemoryBytes); |
| 125 | 125 |
| 126 void scriptsEnabled(bool); | 126 void scriptsEnabled(bool); |
| 127 | 127 |
| 128 InspectorPageAgent* pageAgent() { return m_pageAgent; } |
| 129 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger.get(); } |
| 130 |
| 128 private: | 131 private: |
| 129 InspectorController(Page*, InspectorClient*); | 132 InspectorController(Page*, InspectorClient*); |
| 130 | 133 |
| 131 friend InstrumentingAgents* instrumentationForPage(Page*); | 134 friend InstrumentingAgents* instrumentationForPage(Page*); |
| 132 | 135 |
| 133 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 136 RefPtr<InstrumentingAgents> m_instrumentingAgents; |
| 134 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 137 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
| 135 OwnPtr<InspectorCompositeState> m_state; | 138 OwnPtr<InspectorCompositeState> m_state; |
| 136 OwnPtr<InspectorOverlay> m_overlay; | 139 OwnPtr<InspectorOverlay> m_overlay; |
| 137 | 140 |
| 138 InspectorDOMAgent* m_domAgent; | 141 InspectorDOMAgent* m_domAgent; |
| 139 InspectorPageAgent* m_pageAgent; | 142 InspectorPageAgent* m_pageAgent; |
| 140 InspectorTimelineAgent* m_timelineAgent; | 143 InspectorTimelineAgent* m_timelineAgent; |
| 141 | 144 |
| 142 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; | 145 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; |
| 143 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; | 146 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; |
| 144 OwnPtr<InspectorFrontend> m_inspectorFrontend; | 147 OwnPtr<InspectorFrontend> m_inspectorFrontend; |
| 145 Page* m_page; | 148 Page* m_page; |
| 146 InspectorClient* m_inspectorClient; | 149 InspectorClient* m_inspectorClient; |
| 147 InspectorAgentRegistry m_agents; | 150 InspectorAgentRegistry m_agents; |
| 148 bool m_isUnderTest; | 151 bool m_isUnderTest; |
| 149 bool m_deferredAgentsInitialized; | 152 bool m_deferredAgentsInitialized; |
| 150 }; | 153 }; |
| 151 | 154 |
| 152 } | 155 } |
| 153 | 156 |
| 154 | 157 |
| 155 #endif // !defined(InspectorController_h) | 158 #endif // !defined(InspectorController_h) |
| OLD | NEW |