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

Side by Side Diff: third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 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 // 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 "web/SuspendableScriptExecutor.h" 5 #include "web/SuspendableScriptExecutor.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/ScriptController.h" 8 #include "bindings/core/v8/ScriptController.h"
9 #include "bindings/core/v8/ScriptSourceCode.h" 9 #include "bindings/core/v8/ScriptSourceCode.h"
10 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8Binding.h"
11 #include "bindings/core/v8/V8PersistentValueVector.h" 11 #include "bindings/core/v8/V8PersistentValueVector.h"
12 #include "bindings/core/v8/WindowProxy.h" 12 #include "bindings/core/v8/WindowProxy.h"
13 #include "core/dom/Document.h" 13 #include "core/dom/Document.h"
14 #include "core/dom/DocumentUserGestureToken.h" 14 #include "core/dom/DocumentUserGestureToken.h"
15 #include "core/dom/TaskRunnerHelper.h" 15 #include "core/dom/TaskRunnerHelper.h"
16 #include "core/frame/LocalFrame.h" 16 #include "core/frame/LocalFrame.h"
17 #include "platform/UserGestureIndicator.h" 17 #include "platform/UserGestureIndicator.h"
18 #include "platform/wtf/PtrUtil.h"
19 #include "platform/wtf/Vector.h"
18 #include "public/platform/WebVector.h" 20 #include "public/platform/WebVector.h"
19 #include "public/web/WebScriptExecutionCallback.h" 21 #include "public/web/WebScriptExecutionCallback.h"
20 #include "wtf/PtrUtil.h"
21 #include "wtf/Vector.h"
22 22
23 namespace blink { 23 namespace blink {
24 24
25 namespace { 25 namespace {
26 26
27 class WebScriptExecutor : public SuspendableScriptExecutor::Executor { 27 class WebScriptExecutor : public SuspendableScriptExecutor::Executor {
28 public: 28 public:
29 WebScriptExecutor(const HeapVector<ScriptSourceCode>& sources, 29 WebScriptExecutor(const HeapVector<ScriptSourceCode>& sources,
30 int worldID, 30 int worldID,
31 bool userGesture); 31 bool userGesture);
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 m_keepAlive.clear(); 242 m_keepAlive.clear();
243 stop(); 243 stop();
244 } 244 }
245 245
246 DEFINE_TRACE(SuspendableScriptExecutor) { 246 DEFINE_TRACE(SuspendableScriptExecutor) {
247 visitor->trace(m_executor); 247 visitor->trace(m_executor);
248 SuspendableTimer::trace(visitor); 248 SuspendableTimer::trace(visitor);
249 } 249 }
250 250
251 } // namespace blink 251 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/SuspendableScriptExecutor.h ('k') | third_party/WebKit/Source/web/TextFinder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698