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

Side by Side Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScope.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 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 // 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 ThreadedWorkletGlobalScope_h 5 #ifndef ThreadedWorkletGlobalScope_h
6 #define ThreadedWorkletGlobalScope_h 6 #define ThreadedWorkletGlobalScope_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/workers/WorkletGlobalScope.h" 9 #include "core/workers/WorkletGlobalScope.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class ConsoleMessageStorage;
14 class WorkerInspectorController;
15 class WorkerThread; 13 class WorkerThread;
16 14
17 class CORE_EXPORT ThreadedWorkletGlobalScope : public WorkletGlobalScope { 15 class CORE_EXPORT ThreadedWorkletGlobalScope : public WorkletGlobalScope {
18 public: 16 public:
19 ~ThreadedWorkletGlobalScope() override; 17 ~ThreadedWorkletGlobalScope() override;
20 void dispose() final; 18 void dispose() final;
21 19
22 // ExecutionContext 20 // ExecutionContext
23 bool isThreadedWorkletGlobalScope() const final { return true; } 21 bool isThreadedWorkletGlobalScope() const final { return true; }
24 bool isContextThread() const final; 22 bool isContextThread() const final;
(...skipping 18 matching lines...) Expand all
43 41
44 DEFINE_TYPE_CASTS(ThreadedWorkletGlobalScope, 42 DEFINE_TYPE_CASTS(ThreadedWorkletGlobalScope,
45 ExecutionContext, 43 ExecutionContext,
46 context, 44 context,
47 context->isThreadedWorkletGlobalScope(), 45 context->isThreadedWorkletGlobalScope(),
48 context.isThreadedWorkletGlobalScope()); 46 context.isThreadedWorkletGlobalScope());
49 47
50 } // namespace blink 48 } // namespace blink
51 49
52 #endif // ThreadedWorkletGlobalScope_h 50 #endif // ThreadedWorkletGlobalScope_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698