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

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

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "core/frame/LocalDOMWindow.h" 52 #include "core/frame/LocalDOMWindow.h"
53 #include "core/frame/LocalFrame.h" 53 #include "core/frame/LocalFrame.h"
54 #include "core/frame/csp/ContentSecurityPolicy.h" 54 #include "core/frame/csp/ContentSecurityPolicy.h"
55 #include "core/inspector/ConsoleMessage.h" 55 #include "core/inspector/ConsoleMessage.h"
56 #include "core/inspector/MainThreadDebugger.h" 56 #include "core/inspector/MainThreadDebugger.h"
57 #include "core/workers/WorkerGlobalScope.h" 57 #include "core/workers/WorkerGlobalScope.h"
58 #include "platform/EventDispatchForbiddenScope.h" 58 #include "platform/EventDispatchForbiddenScope.h"
59 #include "platform/RuntimeEnabledFeatures.h" 59 #include "platform/RuntimeEnabledFeatures.h"
60 #include "platform/instrumentation/tracing/TraceEvent.h" 60 #include "platform/instrumentation/tracing/TraceEvent.h"
61 #include "platform/loader/fetch/AccessControlStatus.h" 61 #include "platform/loader/fetch/AccessControlStatus.h"
62 #include "platform/scheduler/child/web_scheduler.h"
62 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 63 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
63 #include "platform/wtf/AddressSanitizer.h" 64 #include "platform/wtf/AddressSanitizer.h"
64 #include "platform/wtf/Assertions.h" 65 #include "platform/wtf/Assertions.h"
65 #include "platform/wtf/PtrUtil.h" 66 #include "platform/wtf/PtrUtil.h"
66 #include "platform/wtf/RefPtr.h" 67 #include "platform/wtf/RefPtr.h"
67 #include "platform/wtf/text/WTFString.h" 68 #include "platform/wtf/text/WTFString.h"
68 #include "platform/wtf/typed_arrays/ArrayBufferContents.h" 69 #include "platform/wtf/typed_arrays/ArrayBufferContents.h"
69 #include "public/platform/Platform.h" 70 #include "public/platform/Platform.h"
70 #include "public/platform/WebScheduler.h"
71 #include "public/platform/WebThread.h" 71 #include "public/platform/WebThread.h"
72 #include "v8/include/v8-debug.h" 72 #include "v8/include/v8-debug.h"
73 #include "v8/include/v8-profiler.h" 73 #include "v8/include/v8-profiler.h"
74 74
75 namespace blink { 75 namespace blink {
76 76
77 static Frame* FindFrame(v8::Isolate* isolate, 77 static Frame* FindFrame(v8::Isolate* isolate,
78 v8::Local<v8::Object> host, 78 v8::Local<v8::Object> host,
79 v8::Local<v8::Value> data) { 79 v8::Local<v8::Value> data) {
80 const WrapperTypeInfo* type = WrapperTypeInfo::Unwrap(data); 80 const WrapperTypeInfo* type = WrapperTypeInfo::Unwrap(data);
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 v8::Isolate::kMessageLog); 583 v8::Isolate::kMessageLog);
584 isolate->SetFatalErrorHandler(ReportFatalErrorInWorker); 584 isolate->SetFatalErrorHandler(ReportFatalErrorInWorker);
585 585
586 uint32_t here; 586 uint32_t here;
587 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - 587 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) -
588 kWorkerMaxStackSize); 588 kWorkerMaxStackSize);
589 isolate->SetPromiseRejectCallback(PromiseRejectHandlerInWorker); 589 isolate->SetPromiseRejectCallback(PromiseRejectHandlerInWorker);
590 } 590 }
591 591
592 } // namespace blink 592 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698