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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetBase.h

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 years, 10 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 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 WebFrameWidgetBase_h 5 #ifndef WebFrameWidgetBase_h
6 #define WebFrameWidgetBase_h 6 #define WebFrameWidgetBase_h
7 7
8 #include "core/clipboard/DataObject.h" 8 #include "core/clipboard/DataObject.h"
9
9 #include "public/platform/WebDragData.h" 10 #include "public/platform/WebDragData.h"
10 #include "public/web/WebFrameWidget.h" 11 #include "public/web/WebFrameWidget.h"
11 #include "wtf/Assertions.h" 12 #include "wtf/Assertions.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
16 class AnimationWorkletProxyClient;
15 class CompositorAnimationHost; 17 class CompositorAnimationHost;
16 class CompositorProxyClient; 18 class CompositorWorkerProxyClient;
17 class GraphicsLayer; 19 class GraphicsLayer;
18 class WebImage; 20 class WebImage;
19 class WebLayer; 21 class WebLayer;
20 class WebLayerTreeView; 22 class WebLayerTreeView;
21 class WebViewImpl; 23 class WebViewImpl;
22 class HitTestResult; 24 class HitTestResult;
23 struct WebPoint; 25 struct WebPoint;
24 26
25 class WebFrameWidgetBase : public WebFrameWidget { 27 class WebFrameWidgetBase : public WebFrameWidget {
26 public: 28 public:
27 virtual bool forSubframe() const = 0; 29 virtual bool forSubframe() const = 0;
28 virtual void scheduleAnimation() = 0; 30 virtual void scheduleAnimation() = 0;
29 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 31 virtual CompositorWorkerProxyClient* createCompositorWorkerProxyClient() = 0;
32 virtual AnimationWorkletProxyClient* createAnimationWorkletProxyClient() = 0;
30 virtual WebWidgetClient* client() const = 0; 33 virtual WebWidgetClient* client() const = 0;
31 34
32 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 35 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
33 // the root layer. 36 // the root layer.
34 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 37 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
35 38
36 // Sets the root layer. |WebLayer| can be null when detaching the root layer. 39 // Sets the root layer. |WebLayer| can be null when detaching the root layer.
37 virtual void setRootLayer(WebLayer*) = 0; 40 virtual void setRootLayer(WebLayer*) = 0;
38 41
39 virtual WebLayerTreeView* getLayerTreeView() const = 0; 42 virtual WebLayerTreeView* getLayerTreeView() const = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void cancelDrag(); 112 void cancelDrag();
110 113
111 static bool s_ignoreInputEvents; 114 static bool s_ignoreInputEvents;
112 }; 115 };
113 116
114 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 117 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
115 118
116 } // namespace blink 119 } // namespace blink
117 120
118 #endif 121 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698