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

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

Issue 772563003: Move many of v8_inspector dependencies out of core/ (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"
19 #include "sky/engine/core/page/Page.h" 18 #include "sky/engine/core/page/Page.h"
20 #include "sky/engine/core/rendering/RenderImage.h" 19 #include "sky/engine/core/rendering/RenderImage.h"
21 #include "sky/engine/core/rendering/RenderObject.h" 20 #include "sky/engine/core/rendering/RenderObject.h"
22 #include "sky/engine/platform/JSONValues.h" 21 #include "sky/engine/platform/JSONValues.h"
23 #include "sky/engine/platform/TracedValue.h" 22 #include "sky/engine/platform/TracedValue.h"
24 #include "sky/engine/platform/network/ResourceRequest.h" 23 #include "sky/engine/platform/network/ResourceRequest.h"
25 #include "sky/engine/platform/network/ResourceResponse.h" 24 #include "sky/engine/platform/network/ResourceResponse.h"
26 #include "sky/engine/platform/weborigin/KURL.h" 25 #include "sky/engine/platform/weborigin/KURL.h"
26 #include "sky/engine/core/inspector/ScriptCallStack.h"
27 #include "sky/engine/wtf/Vector.h" 27 #include "sky/engine/wtf/Vector.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 namespace { 31 namespace {
32 32
33 class JSCallStack : public TraceEvent::ConvertableToTraceFormat { 33 class JSCallStack : public TraceEvent::ConvertableToTraceFormat {
34 public: 34 public:
35 explicit JSCallStack(PassRefPtr<ScriptCallStack> callstack) 35 explicit JSCallStack(PassRefPtr<ScriptCallStack> callstack)
36 { 36 {
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTimeStampEvent::data(E xecutionContext* context, const String& message) 304 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTimeStampEvent::data(E xecutionContext* context, const String& message)
305 { 305 {
306 RefPtr<TracedValue> value = TracedValue::create(); 306 RefPtr<TracedValue> value = TracedValue::create();
307 value->setString("message", message); 307 value->setString("message", message);
308 if (LocalFrame* frame = frameForExecutionContext(context)) 308 if (LocalFrame* frame = frameForExecutionContext(context))
309 value->setString("frame", toHexString(frame)); 309 value->setString("frame", toHexString(frame));
310 return value; 310 return value;
311 } 311 }
312 312
313 } 313 }
OLDNEW
« no previous file with comments | « sky/engine/core/inspector/InspectorState.cpp ('k') | sky/engine/core/inspector/InstrumentingAgents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698