| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 virtual ~InspectorTimelineAgent(); | 123 virtual ~InspectorTimelineAgent(); |
| 124 | 124 |
| 125 virtual void setFrontend(InspectorFrontend*) OVERRIDE; | 125 virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
| 126 virtual void clearFrontend() OVERRIDE; | 126 virtual void clearFrontend() OVERRIDE; |
| 127 virtual void restore() OVERRIDE; | 127 virtual void restore() OVERRIDE; |
| 128 | 128 |
| 129 virtual void enable(ErrorString*) OVERRIDE; | 129 virtual void enable(ErrorString*) OVERRIDE; |
| 130 virtual void disable(ErrorString*) OVERRIDE; | 130 virtual void disable(ErrorString*) OVERRIDE; |
| 131 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const String* liveEvents, const bool* includeCounters, const bool*
includeGPUEvents) OVERRIDE; | 131 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const String* liveEvents, const bool* includeCounters, const bool*
includeGPUEvents) OVERRIDE; |
| 132 virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel
ine::TimelineEvent> >& events) OVERRIDE; | 132 virtual void stop(ErrorString*) OVERRIDE; |
| 133 | 133 |
| 134 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } | 134 void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; } |
| 135 int id() const { return m_id; } | 135 int id() const { return m_id; } |
| 136 | 136 |
| 137 void didCommitLoad(); | 137 void didCommitLoad(); |
| 138 | 138 |
| 139 // Methods called from WebCore. | 139 // Methods called from WebCore. |
| 140 bool willCallFunction(ExecutionContext*, int scriptId, const String& scriptN
ame, int scriptLine); | 140 bool willCallFunction(ExecutionContext*, int scriptId, const String& scriptN
ame, int scriptLine); |
| 141 void didCallFunction(); | 141 void didCallFunction(); |
| 142 | 142 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; | 316 typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap; |
| 317 ThreadStateMap m_threadStates; | 317 ThreadStateMap m_threadStates; |
| 318 bool m_mayEmitFirstPaint; | 318 bool m_mayEmitFirstPaint; |
| 319 HashSet<String> m_liveEvents; | 319 HashSet<String> m_liveEvents; |
| 320 double m_lastProgressTimestamp; | 320 double m_lastProgressTimestamp; |
| 321 }; | 321 }; |
| 322 | 322 |
| 323 } // namespace WebCore | 323 } // namespace WebCore |
| 324 | 324 |
| 325 #endif // !defined(InspectorTimelineAgent_h) | 325 #endif // !defined(InspectorTimelineAgent_h) |
| OLD | NEW |