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

Side by Side Diff: sky/engine/bindings/core/v8/V8Initializer.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 26 matching lines...) Expand all
37 #include "sky/engine/bindings/core/v8/ScriptProfiler.h" 37 #include "sky/engine/bindings/core/v8/ScriptProfiler.h"
38 #include "sky/engine/bindings/core/v8/V8Binding.h" 38 #include "sky/engine/bindings/core/v8/V8Binding.h"
39 #include "sky/engine/bindings/core/v8/V8ErrorHandler.h" 39 #include "sky/engine/bindings/core/v8/V8ErrorHandler.h"
40 #include "sky/engine/bindings/core/v8/V8GCController.h" 40 #include "sky/engine/bindings/core/v8/V8GCController.h"
41 #include "sky/engine/bindings/core/v8/V8PerContextData.h" 41 #include "sky/engine/bindings/core/v8/V8PerContextData.h"
42 #include "sky/engine/core/dom/Document.h" 42 #include "sky/engine/core/dom/Document.h"
43 #include "sky/engine/core/dom/ExceptionCode.h" 43 #include "sky/engine/core/dom/ExceptionCode.h"
44 #include "sky/engine/core/frame/ConsoleTypes.h" 44 #include "sky/engine/core/frame/ConsoleTypes.h"
45 #include "sky/engine/core/frame/LocalDOMWindow.h" 45 #include "sky/engine/core/frame/LocalDOMWindow.h"
46 #include "sky/engine/core/frame/LocalFrame.h" 46 #include "sky/engine/core/frame/LocalFrame.h"
47 #include "sky/engine/core/inspector/ScriptCallStack.h"
48 #include "sky/engine/platform/EventDispatchForbiddenScope.h" 47 #include "sky/engine/platform/EventDispatchForbiddenScope.h"
49 #include "sky/engine/platform/TraceEvent.h" 48 #include "sky/engine/platform/TraceEvent.h"
50 #include "sky/engine/public/platform/Platform.h" 49 #include "sky/engine/public/platform/Platform.h"
50 #include "sky/engine/core/inspector/ScriptCallStack.h"
51 #include "sky/engine/wtf/RefPtr.h" 51 #include "sky/engine/wtf/RefPtr.h"
52 #include "sky/engine/wtf/text/WTFString.h" 52 #include "sky/engine/wtf/text/WTFString.h"
53 #include "v8/include/v8-debug.h" 53 #include "v8/include/v8-debug.h"
54 54
55 namespace blink { 55 namespace blink {
56 56
57 static LocalFrame* findFrame(v8::Local<v8::Object> host, v8::Local<v8::Value> da ta, v8::Isolate* isolate) 57 static LocalFrame* findFrame(v8::Local<v8::Object> host, v8::Local<v8::Value> da ta, v8::Isolate* isolate)
58 { 58 {
59 const WrapperTypeInfo* type = WrapperTypeInfo::unwrap(data); 59 const WrapperTypeInfo* type = WrapperTypeInfo::unwrap(data);
60 60
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 v8::V8::SetFatalErrorHandler(reportFatalErrorInMainThread); 217 v8::V8::SetFatalErrorHandler(reportFatalErrorInMainThread);
218 v8::V8::AddMessageListener(messageHandlerInMainThread); 218 v8::V8::AddMessageListener(messageHandlerInMainThread);
219 v8::V8::SetFailedAccessCheckCallbackFunction(failedAccessCheckCallbackInMain Thread); 219 v8::V8::SetFailedAccessCheckCallbackFunction(failedAccessCheckCallbackInMain Thread);
220 220
221 isolate->SetEventLogger(timerTraceProfilerInMainThread); 221 isolate->SetEventLogger(timerTraceProfilerInMainThread);
222 222
223 ScriptProfiler::initialize(); 223 ScriptProfiler::initialize();
224 } 224 }
225 225
226 } // namespace blink 226 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/core/v8/V8Binding.cpp ('k') | sky/engine/bindings/core/v8/V8StringResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698