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

Side by Side Diff: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h

Issue 2183383002: Export TaskRunnerHelper functions to expose it to modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef TaskRunnerHelper_h 5 #ifndef TaskRunnerHelper_h
6 #define TaskRunnerHelper_h 6 #define TaskRunnerHelper_h
7 7
8 #include "core/CoreExport.h"
8 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class Document; 13 class Document;
13 class ExecutionContext; 14 class ExecutionContext;
14 class LocalFrame; 15 class LocalFrame;
15 class ScriptState; 16 class ScriptState;
16 class WebTaskRunner; 17 class WebTaskRunner;
17 18
18 class TaskRunnerHelper final { 19 class CORE_EXPORT TaskRunnerHelper final {
19 STATIC_ONLY(TaskRunnerHelper); 20 STATIC_ONLY(TaskRunnerHelper);
20 public: 21 public:
21 static WebTaskRunner* getUnthrottledTaskRunner(LocalFrame*); 22 static WebTaskRunner* getUnthrottledTaskRunner(LocalFrame*);
22 static WebTaskRunner* getTimerTaskRunner(LocalFrame*); 23 static WebTaskRunner* getTimerTaskRunner(LocalFrame*);
23 static WebTaskRunner* getLoadingTaskRunner(LocalFrame*); 24 static WebTaskRunner* getLoadingTaskRunner(LocalFrame*);
24 static WebTaskRunner* getUnthrottledTaskRunner(Document*); 25 static WebTaskRunner* getUnthrottledTaskRunner(Document*);
25 static WebTaskRunner* getTimerTaskRunner(Document*); 26 static WebTaskRunner* getTimerTaskRunner(Document*);
26 static WebTaskRunner* getLoadingTaskRunner(Document*); 27 static WebTaskRunner* getLoadingTaskRunner(Document*);
27 static WebTaskRunner* getUnthrottledTaskRunner(ExecutionContext*); 28 static WebTaskRunner* getUnthrottledTaskRunner(ExecutionContext*);
28 static WebTaskRunner* getUnthrottledTaskRunner(ScriptState*); 29 static WebTaskRunner* getUnthrottledTaskRunner(ScriptState*);
29 }; 30 };
30 31
31 } // namespace blink 32 } // namespace blink
32 33
33 #endif 34 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698