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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorker.h

Issue 1962113003: Make ActiveScriptWrappable the GC mixin it is. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CompositorWorker_h 5 #ifndef CompositorWorker_h
6 #define CompositorWorker_h 6 #define CompositorWorker_h
7 7
8 #include "core/workers/InProcessWorkerBase.h" 8 #include "core/workers/InProcessWorkerBase.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "wtf/PassRefPtr.h" 10 #include "wtf/PassRefPtr.h"
11 #include "wtf/text/AtomicString.h" 11 #include "wtf/text/AtomicString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ExceptionState; 15 class ExceptionState;
16 class ExecutionContext; 16 class ExecutionContext;
17 class InProcessWorkerGlobalScopeProxy; 17 class InProcessWorkerGlobalScopeProxy;
18 18
19 class MODULES_EXPORT CompositorWorker final : public InProcessWorkerBase { 19 class MODULES_EXPORT CompositorWorker final : public InProcessWorkerBase {
20 DEFINE_WRAPPERTYPEINFO(); 20 DEFINE_WRAPPERTYPEINFO();
21 USING_GARBAGE_COLLECTED_MIXIN(CompositorWorker);
21 public: 22 public:
22 static CompositorWorker* create(ExecutionContext*, const String& url, Except ionState&); 23 static CompositorWorker* create(ExecutionContext*, const String& url, Except ionState&);
23 ~CompositorWorker() override; 24 ~CompositorWorker() override;
24 25
25 const AtomicString& interfaceName() const override; 26 const AtomicString& interfaceName() const override;
26 InProcessWorkerGlobalScopeProxy* createInProcessWorkerGlobalScopeProxy(Execu tionContext*) override; 27 InProcessWorkerGlobalScopeProxy* createInProcessWorkerGlobalScopeProxy(Execu tionContext*) override;
27 28
28 private: 29 private:
29 explicit CompositorWorker(ExecutionContext*); 30 explicit CompositorWorker(ExecutionContext*);
30 }; 31 };
31 32
32 } // namespace blink 33 } // namespace blink
33 34
34 #endif // CompositorWorker_h 35 #endif // CompositorWorker_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698