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

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: Export CompositorAnimator Created 3 years, 11 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 #include "core/dom/CompositorProxyClient.h"
10
9 #include "public/platform/WebDragData.h" 11 #include "public/platform/WebDragData.h"
10 #include "public/web/WebFrameWidget.h" 12 #include "public/web/WebFrameWidget.h"
11 #include "wtf/Assertions.h" 13 #include "wtf/Assertions.h"
12 14
13 namespace blink { 15 namespace blink {
14 16
15 class CompositorAnimationHost; 17 class CompositorAnimationHost;
16 class CompositorProxyClient;
17 class GraphicsLayer; 18 class GraphicsLayer;
18 class WebImage; 19 class WebImage;
19 class WebLayer; 20 class WebLayer;
20 class WebLayerTreeView; 21 class WebLayerTreeView;
21 class WebViewImpl; 22 class WebViewImpl;
22 class HitTestResult; 23 class HitTestResult;
23 struct WebPoint; 24 struct WebPoint;
24 25
25 class WebFrameWidgetBase : public WebFrameWidget { 26 class WebFrameWidgetBase : public WebFrameWidget {
26 public: 27 public:
27 virtual bool forSubframe() const = 0; 28 virtual bool forSubframe() const = 0;
28 virtual void scheduleAnimation() = 0; 29 virtual void scheduleAnimation() = 0;
29 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 30 virtual CompositorProxyClient* createCompositorProxyClient(
31 CompositorProxyClient::Type) = 0;
30 virtual WebWidgetClient* client() const = 0; 32 virtual WebWidgetClient* client() const = 0;
31 33
32 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 34 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
33 // the root layer. 35 // the root layer.
34 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 36 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
35 37
36 // Sets the root layer. |WebLayer| can be null when detaching the root layer. 38 // Sets the root layer. |WebLayer| can be null when detaching the root layer.
37 virtual void setRootLayer(WebLayer*) = 0; 39 virtual void setRootLayer(WebLayer*) = 0;
38 40
39 virtual WebLayerTreeView* getLayerTreeView() const = 0; 41 virtual WebLayerTreeView* getLayerTreeView() const = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void cancelDrag(); 111 void cancelDrag();
110 112
111 static bool s_ignoreInputEvents; 113 static bool s_ignoreInputEvents;
112 }; 114 };
113 115
114 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 116 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
115 117
116 } // namespace blink 118 } // namespace blink
117 119
118 #endif 120 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698