OLD | NEW |
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 CompositorProxyClient; |
17 class DragController; | |
18 class GraphicsLayer; | 17 class GraphicsLayer; |
19 class WebImage; | 18 class WebImage; |
20 class WebLayer; | 19 class WebLayer; |
21 class WebLocalFrameImpl; | |
22 class WebViewImpl; | 20 class WebViewImpl; |
23 class HitTestResult; | 21 class HitTestResult; |
24 struct WebPoint; | 22 struct WebPoint; |
25 | 23 |
26 class WebFrameWidgetBase : public WebFrameWidget { | 24 class WebFrameWidgetBase : public WebFrameWidget { |
27 public: | 25 public: |
28 virtual bool forSubframe() const = 0; | 26 virtual bool forSubframe() const = 0; |
29 virtual void scheduleAnimation() = 0; | 27 virtual void scheduleAnimation() = 0; |
30 virtual CompositorProxyClient* createCompositorProxyClient() = 0; | 28 virtual CompositorProxyClient* createCompositorProxyClient() = 0; |
31 virtual WebWidgetClient* client() const = 0; | 29 virtual WebWidgetClient* client() const = 0; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // When not equal to DragOperationNone, the drag data can be dropped onto the | 104 // 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). | 105 // current drop target in this WebView (the drop target can accept the drop). |
108 WebDragOperation m_dragOperation = WebDragOperationNone; | 106 WebDragOperation m_dragOperation = WebDragOperationNone; |
109 }; | 107 }; |
110 | 108 |
111 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); | 109 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); |
112 | 110 |
113 } // namespace blink | 111 } // namespace blink |
114 | 112 |
115 #endif | 113 #endif |
OLD | NEW |