OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 gfx::NativeView context) override; | 102 gfx::NativeView context) override; |
103 RenderWidgetHostViewBase* CreateViewForWidget( | 103 RenderWidgetHostViewBase* CreateViewForWidget( |
104 RenderWidgetHost* render_widget_host, | 104 RenderWidgetHost* render_widget_host, |
105 bool is_guest_view_hack) override; | 105 bool is_guest_view_hack) override; |
106 RenderWidgetHostViewBase* CreateViewForPopupWidget( | 106 RenderWidgetHostViewBase* CreateViewForPopupWidget( |
107 RenderWidgetHost* render_widget_host) override; | 107 RenderWidgetHost* render_widget_host) override; |
108 void SetPageTitle(const base::string16& title) override; | 108 void SetPageTitle(const base::string16& title) override; |
109 void RenderViewCreated(RenderViewHost* host) override; | 109 void RenderViewCreated(RenderViewHost* host) override; |
110 void RenderViewSwappedIn(RenderViewHost* host) override; | 110 void RenderViewSwappedIn(RenderViewHost* host) override; |
111 void SetOverscrollControllerEnabled(bool enabled) override; | 111 void SetOverscrollControllerEnabled(bool enabled) override; |
| 112 ui::Compositor* GetCompositor() const override; |
112 | 113 |
113 // Overridden from RenderViewHostDelegateView: | 114 // Overridden from RenderViewHostDelegateView: |
114 void ShowContextMenu(RenderFrameHost* render_frame_host, | 115 void ShowContextMenu(RenderFrameHost* render_frame_host, |
115 const ContextMenuParams& params) override; | 116 const ContextMenuParams& params) override; |
116 void StartDragging(const DropData& drop_data, | 117 void StartDragging(const DropData& drop_data, |
117 blink::WebDragOperationsMask operations, | 118 blink::WebDragOperationsMask operations, |
118 const gfx::ImageSkia& image, | 119 const gfx::ImageSkia& image, |
119 const gfx::Vector2d& image_offset, | 120 const gfx::Vector2d& image_offset, |
120 const DragEventSourceInfo& event_info) override; | 121 const DragEventSourceInfo& event_info) override; |
121 void UpdateDragCursor(blink::WebDragOperation operation) override; | 122 void UpdateDragCursor(blink::WebDragOperation operation) override; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 std::unique_ptr<GestureNavSimple> gesture_nav_simple_; | 212 std::unique_ptr<GestureNavSimple> gesture_nav_simple_; |
212 | 213 |
213 bool init_rwhv_with_null_parent_for_testing_; | 214 bool init_rwhv_with_null_parent_for_testing_; |
214 | 215 |
215 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 216 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
216 }; | 217 }; |
217 | 218 |
218 } // namespace content | 219 } // namespace content |
219 | 220 |
220 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 221 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |