| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 void reportMemoryUsage(MemoryObjectInfo*) const; | 120 void reportMemoryUsage(MemoryObjectInfo*) const; |
| 121 | 121 |
| 122 void willProcessTask(); | 122 void willProcessTask(); |
| 123 void didProcessTask(); | 123 void didProcessTask(); |
| 124 | 124 |
| 125 void didBeginFrame(); | 125 void didBeginFrame(); |
| 126 void didCancelFrame(); | 126 void didCancelFrame(); |
| 127 void willComposite(); | 127 void willComposite(); |
| 128 void didComposite(); | 128 void didComposite(); |
| 129 void willUpdateLayer(int layerId); |
| 130 void didUpdateLayer(); |
| 129 | 131 |
| 130 HashMap<String, size_t> processMemoryDistribution() const; | 132 HashMap<String, size_t> processMemoryDistribution() const; |
| 131 | 133 |
| 132 private: | 134 private: |
| 133 InspectorController(Page*, InspectorClient*); | 135 InspectorController(Page*, InspectorClient*); |
| 134 | 136 |
| 135 friend class PostWorkerNotificationToFrontendTask; | 137 friend class PostWorkerNotificationToFrontendTask; |
| 136 friend InstrumentingAgents* instrumentationForPage(Page*); | 138 friend InstrumentingAgents* instrumentationForPage(Page*); |
| 137 | 139 |
| 138 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 140 RefPtr<InstrumentingAgents> m_instrumentingAgents; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 155 Page* m_page; | 157 Page* m_page; |
| 156 InspectorClient* m_inspectorClient; | 158 InspectorClient* m_inspectorClient; |
| 157 InspectorAgentRegistry m_agents; | 159 InspectorAgentRegistry m_agents; |
| 158 bool m_isUnderTest; | 160 bool m_isUnderTest; |
| 159 }; | 161 }; |
| 160 | 162 |
| 161 } | 163 } |
| 162 | 164 |
| 163 | 165 |
| 164 #endif // !defined(InspectorController_h) | 166 #endif // !defined(InspectorController_h) |
| OLD | NEW |