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

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

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed assertion Created 5 years, 10 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createCountersUpdate(); 266 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createCountersUpdate();
267 void clearRecordStack(); 267 void clearRecordStack();
268 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> da ta); 268 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> da ta);
269 269
270 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ uad*); 270 void localToPageQuad(const RenderObject& renderer, const LayoutRect&, FloatQ uad*);
271 long long nodeId(Node*); 271 long long nodeId(Node*);
272 long long nodeId(RenderObject*); 272 long long nodeId(RenderObject*);
273 273
274 double timestamp(); 274 double timestamp();
275 275
276 LocalFrame* mainFrame() const; 276 LocalFrame* inspectedFrame() const;
277 277
278 bool isStarted(); 278 bool isStarted();
279 void innerStart(); 279 void innerStart();
280 void innerStop(bool fromConsole); 280 void innerStop(bool fromConsole);
281 void setLiveEvents(const String&); 281 void setLiveEvents(const String&);
282 282
283 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 283 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
284 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; 284 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent;
285 InspectorFrontend::Timeline* m_frontend; 285 InspectorFrontend::Timeline* m_frontend;
286 InspectorClient* m_client; 286 InspectorClient* m_client;
(...skipping 23 matching lines...) Expand all
310 typedef WillBeHeapHashMap<ThreadIdentifier, TimelineThreadState> ThreadState Map; 310 typedef WillBeHeapHashMap<ThreadIdentifier, TimelineThreadState> ThreadState Map;
311 ThreadStateMap m_threadStates; 311 ThreadStateMap m_threadStates;
312 bool m_mayEmitFirstPaint; 312 bool m_mayEmitFirstPaint;
313 HashSet<String> m_liveEvents; 313 HashSet<String> m_liveEvents;
314 double m_lastProgressTimestamp; 314 double m_lastProgressTimestamp;
315 }; 315 };
316 316
317 } // namespace blink 317 } // namespace blink
318 318
319 #endif // !defined(InspectorTimelineAgent_h) 319 #endif // !defined(InspectorTimelineAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorResourceContentLoader.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698