Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: Source/core/inspector/InspectorTimelineAgent.h

Issue 399043002: DevTools: switch Timeline frontend into buffered mode and remove the corresponding experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor changes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
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 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*, RefPtr<TypeBuilder::Array<TypeBuilder::Timel ine::TimelineEvent> >& events) 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();
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698