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

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: address feedback Created 4 years 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 "public/platform/WebDragData.h" 9 #include "public/platform/WebDragData.h"
10 #include "public/web/WebFrameWidget.h" 10 #include "public/web/WebFrameWidget.h"
11 #include "wtf/Assertions.h" 11 #include "wtf/Assertions.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class CompositorAnimationTimeline; 15 class CompositorAnimationTimeline;
16 class CompositorProxyClient; 16 class CompositorProxyClientFactory;
17 class DragController; 17 class DragController;
18 class GraphicsLayer; 18 class GraphicsLayer;
19 class WebImage; 19 class WebImage;
20 class WebLayer; 20 class WebLayer;
21 class WebLocalFrameImpl; 21 class WebLocalFrameImpl;
22 class WebViewImpl; 22 class WebViewImpl;
23 class HitTestResult; 23 class HitTestResult;
24 struct WebPoint; 24 struct WebPoint;
25 25
26 class WebFrameWidgetBase : public WebFrameWidget { 26 class WebFrameWidgetBase : public WebFrameWidget {
27 public: 27 public:
28 virtual bool forSubframe() const = 0; 28 virtual bool forSubframe() const = 0;
29 virtual void scheduleAnimation() = 0; 29 virtual void scheduleAnimation() = 0;
30 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 30 virtual CompositorProxyClientFactory* compositorProxyClientFactory() = 0;
31 virtual WebWidgetClient* client() const = 0; 31 virtual WebWidgetClient* client() const = 0;
32 32
33 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 33 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
34 // the root layer. 34 // the root layer.
35 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 35 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
36 36
37 // Sets the root layer. |WebLayer| can be null when detaching the root layer. 37 // Sets the root layer. |WebLayer| can be null when detaching the root layer.
38 virtual void setRootLayer(WebLayer*) = 0; 38 virtual void setRootLayer(WebLayer*) = 0;
39 39
40 // Attaches/detaches a CompositorAnimationTimeline to the layer tree. 40 // Attaches/detaches a CompositorAnimationTimeline to the layer tree.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // When not equal to DragOperationNone, the drag data can be dropped onto the 106 // When not equal to DragOperationNone, the drag data can be dropped onto the
107 // current drop target in this WebView (the drop target can accept the drop). 107 // current drop target in this WebView (the drop target can accept the drop).
108 WebDragOperation m_dragOperation = WebDragOperationNone; 108 WebDragOperation m_dragOperation = WebDragOperationNone;
109 }; 109 };
110 110
111 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 111 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
112 112
113 } // namespace blink 113 } // namespace blink
114 114
115 #endif 115 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698