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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 5 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "bindings/core/v8/V8PerContextData.h" 42 #include "bindings/core/v8/V8PerContextData.h"
43 #include "bindings/core/v8/V8PrivateProperty.h" 43 #include "bindings/core/v8/V8PrivateProperty.h"
44 #include "bindings/core/v8/V8Window.h" 44 #include "bindings/core/v8/V8Window.h"
45 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" 45 #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
46 #include "core/dom/Document.h" 46 #include "core/dom/Document.h"
47 #include "core/fetch/AccessControlStatus.h" 47 #include "core/fetch/AccessControlStatus.h"
48 #include "core/frame/LocalDOMWindow.h" 48 #include "core/frame/LocalDOMWindow.h"
49 #include "core/frame/LocalFrame.h" 49 #include "core/frame/LocalFrame.h"
50 #include "core/frame/csp/ContentSecurityPolicy.h" 50 #include "core/frame/csp/ContentSecurityPolicy.h"
51 #include "core/inspector/MainThreadDebugger.h" 51 #include "core/inspector/MainThreadDebugger.h"
52 #include "core/inspector/ScriptArguments.h"
53 #include "core/workers/WorkerGlobalScope.h" 52 #include "core/workers/WorkerGlobalScope.h"
54 #include "platform/EventDispatchForbiddenScope.h" 53 #include "platform/EventDispatchForbiddenScope.h"
55 #include "platform/RuntimeEnabledFeatures.h" 54 #include "platform/RuntimeEnabledFeatures.h"
56 #include "platform/TraceEvent.h" 55 #include "platform/TraceEvent.h"
57 #include "platform/v8_inspector/public/ConsoleTypes.h"
58 #include "public/platform/Platform.h" 56 #include "public/platform/Platform.h"
59 #include "public/platform/WebScheduler.h" 57 #include "public/platform/WebScheduler.h"
60 #include "public/platform/WebThread.h" 58 #include "public/platform/WebThread.h"
61 #include "wtf/AddressSanitizer.h" 59 #include "wtf/AddressSanitizer.h"
62 #include "wtf/PtrUtil.h" 60 #include "wtf/PtrUtil.h"
63 #include "wtf/RefPtr.h" 61 #include "wtf/RefPtr.h"
64 #include "wtf/text/WTFString.h" 62 #include "wtf/text/WTFString.h"
65 #include "wtf/typed_arrays/ArrayBufferContents.h" 63 #include "wtf/typed_arrays/ArrayBufferContents.h"
66 #include <memory> 64 #include <memory>
67 #include <v8-debug.h> 65 #include <v8-debug.h>
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 445
448 isolate->AddMessageListener(messageHandlerInWorker); 446 isolate->AddMessageListener(messageHandlerInWorker);
449 isolate->SetFatalErrorHandler(reportFatalErrorInWorker); 447 isolate->SetFatalErrorHandler(reportFatalErrorInWorker);
450 448
451 uint32_t here; 449 uint32_t here;
452 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here - kWorkerMaxStackSi ze / sizeof(uint32_t*))); 450 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here - kWorkerMaxStackSi ze / sizeof(uint32_t*)));
453 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker); 451 isolate->SetPromiseRejectCallback(promiseRejectHandlerInWorker);
454 } 452 }
455 453
456 } // namespace blink 454 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698