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

Side by Side Diff: sky/engine/bindings/core/v8/V8Initializer.cpp

Issue 726133002: Use root-relative V8 includes (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 30 matching lines...) Expand all
41 #include "bindings/core/v8/V8Window.h" 41 #include "bindings/core/v8/V8Window.h"
42 #include "core/dom/Document.h" 42 #include "core/dom/Document.h"
43 #include "core/dom/ExceptionCode.h" 43 #include "core/dom/ExceptionCode.h"
44 #include "core/frame/ConsoleTypes.h" 44 #include "core/frame/ConsoleTypes.h"
45 #include "core/frame/LocalDOMWindow.h" 45 #include "core/frame/LocalDOMWindow.h"
46 #include "core/frame/LocalFrame.h" 46 #include "core/frame/LocalFrame.h"
47 #include "core/inspector/ScriptCallStack.h" 47 #include "core/inspector/ScriptCallStack.h"
48 #include "platform/EventDispatchForbiddenScope.h" 48 #include "platform/EventDispatchForbiddenScope.h"
49 #include "platform/TraceEvent.h" 49 #include "platform/TraceEvent.h"
50 #include "public/platform/Platform.h" 50 #include "public/platform/Platform.h"
51 #include "v8/include/v8-debug.h"
51 #include "wtf/RefPtr.h" 52 #include "wtf/RefPtr.h"
52 #include "wtf/text/WTFString.h" 53 #include "wtf/text/WTFString.h"
53 #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
61 if (V8Window::wrapperTypeInfo.equals(type)) { 61 if (V8Window::wrapperTypeInfo.equals(type)) {
62 v8::Handle<v8::Object> windowWrapper = V8Window::findInstanceInPrototype Chain(host, isolate); 62 v8::Handle<v8::Object> windowWrapper = V8Window::findInstanceInPrototype Chain(host, isolate);
63 if (windowWrapper.IsEmpty()) 63 if (windowWrapper.IsEmpty())
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 v8::V8::SetFatalErrorHandler(reportFatalErrorInMainThread); 192 v8::V8::SetFatalErrorHandler(reportFatalErrorInMainThread);
193 v8::V8::AddMessageListener(messageHandlerInMainThread); 193 v8::V8::AddMessageListener(messageHandlerInMainThread);
194 v8::V8::SetFailedAccessCheckCallbackFunction(failedAccessCheckCallbackInMain Thread); 194 v8::V8::SetFailedAccessCheckCallbackFunction(failedAccessCheckCallbackInMain Thread);
195 195
196 isolate->SetEventLogger(timerTraceProfilerInMainThread); 196 isolate->SetEventLogger(timerTraceProfilerInMainThread);
197 197
198 ScriptProfiler::initialize(); 198 ScriptProfiler::initialize();
199 } 199 }
200 200
201 } // namespace blink 201 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/core/v8/V8Initializer.h ('k') | sky/engine/bindings/core/v8/V8MutationCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698