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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runniā€¦ 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
haraken 2016/05/06 02:45:51 2016
flackr 2016/05/06 18:15:07 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositorProxyClient_h
6 #define CompositorProxyClient_h
7
8 #include "bindings/core/v8/ScopedPersistent.h"
haraken 2016/05/06 02:45:50 Remove this.
flackr 2016/05/06 18:15:07 Done.
9 #include "core/CoreExport.h"
10 #include "core/workers/WorkerClients.h"
11 #include "wtf/Noncopyable.h"
12
13 #include <v8.h>
14
15 namespace blink {
16
17 class CompositorProxy;
18 class Event;
19 class ScriptState;
20 class WorkerClients;
21 class WorkerGlobalScope;
22
23 class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> {
24 WTF_MAKE_NONCOPYABLE(CompositorProxyClient);
25
26 public:
27 CompositorProxyClient() {}
28
29 static CompositorProxyClient* from(WorkerClients*);
30 static const char* supplementName();
31
32 virtual void setGlobalScope(WorkerGlobalScope*) = 0;
33 virtual void requestAnimationFrame() = 0;
34 };
35
36 CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*, CompositorProxyC lient*);
37
38 } // namespace blink
39
40 #endif // CompositorProxyClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698