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

Side by Side Diff: sky/engine/core/inspector/InspectorTraceEvents.cpp

Issue 762993003: Remove GraphicsLayer family of classes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sky/engine/config.h" 5 #include "sky/engine/config.h"
6 #include "sky/engine/core/inspector/InspectorTraceEvents.h" 6 #include "sky/engine/core/inspector/InspectorTraceEvents.h"
7 7
8 #include <inttypes.h> 8 #include <inttypes.h>
9 #include "sky/engine/bindings/core/v8/ScriptCallStackFactory.h" 9 #include "sky/engine/bindings/core/v8/ScriptCallStackFactory.h"
10 #include "sky/engine/bindings/core/v8/ScriptGCEvent.h" 10 #include "sky/engine/bindings/core/v8/ScriptGCEvent.h"
11 #include "sky/engine/bindings/core/v8/ScriptSourceCode.h" 11 #include "sky/engine/bindings/core/v8/ScriptSourceCode.h"
12 #include "sky/engine/core/events/Event.h" 12 #include "sky/engine/core/events/Event.h"
13 #include "sky/engine/core/frame/FrameView.h" 13 #include "sky/engine/core/frame/FrameView.h"
14 #include "sky/engine/core/frame/LocalDOMWindow.h" 14 #include "sky/engine/core/frame/LocalDOMWindow.h"
15 #include "sky/engine/core/frame/LocalFrame.h" 15 #include "sky/engine/core/frame/LocalFrame.h"
16 #include "sky/engine/core/inspector/IdentifiersFactory.h" 16 #include "sky/engine/core/inspector/IdentifiersFactory.h"
17 #include "sky/engine/core/inspector/InspectorNodeIds.h" 17 #include "sky/engine/core/inspector/InspectorNodeIds.h"
18 #include "sky/engine/core/inspector/ScriptCallStack.h" 18 #include "sky/engine/core/inspector/ScriptCallStack.h"
19 #include "sky/engine/core/page/Page.h" 19 #include "sky/engine/core/page/Page.h"
20 #include "sky/engine/core/rendering/RenderImage.h" 20 #include "sky/engine/core/rendering/RenderImage.h"
21 #include "sky/engine/core/rendering/RenderObject.h" 21 #include "sky/engine/core/rendering/RenderObject.h"
22 #include "sky/engine/platform/JSONValues.h" 22 #include "sky/engine/platform/JSONValues.h"
23 #include "sky/engine/platform/TracedValue.h" 23 #include "sky/engine/platform/TracedValue.h"
24 #include "sky/engine/platform/graphics/GraphicsLayer.h"
25 #include "sky/engine/platform/network/ResourceRequest.h" 24 #include "sky/engine/platform/network/ResourceRequest.h"
26 #include "sky/engine/platform/network/ResourceResponse.h" 25 #include "sky/engine/platform/network/ResourceResponse.h"
27 #include "sky/engine/platform/weborigin/KURL.h" 26 #include "sky/engine/platform/weborigin/KURL.h"
28 #include "sky/engine/wtf/Vector.h" 27 #include "sky/engine/wtf/Vector.h"
29 28
30 namespace blink { 29 namespace blink {
31 30
32 namespace { 31 namespace {
33 32
34 class JSCallStack : public TraceEvent::ConvertableToTraceFormat { 33 class JSCallStack : public TraceEvent::ConvertableToTraceFormat {
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTimeStampEvent::data(E xecutionContext* context, const String& message) 304 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTimeStampEvent::data(E xecutionContext* context, const String& message)
306 { 305 {
307 RefPtr<TracedValue> value = TracedValue::create(); 306 RefPtr<TracedValue> value = TracedValue::create();
308 value->setString("message", message); 307 value->setString("message", message);
309 if (LocalFrame* frame = frameForExecutionContext(context)) 308 if (LocalFrame* frame = frameForExecutionContext(context))
310 value->setString("frame", toHexString(frame)); 309 value->setString("frame", toHexString(frame));
311 return value; 310 return value;
312 } 311 }
313 312
314 } 313 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698