| 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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 gfx::NativeView context) override; | 60 gfx::NativeView context) override; |
| 61 RenderWidgetHostViewBase* CreateViewForWidget( | 61 RenderWidgetHostViewBase* CreateViewForWidget( |
| 62 RenderWidgetHost* render_widget_host, | 62 RenderWidgetHost* render_widget_host, |
| 63 bool is_guest_view_hack) override; | 63 bool is_guest_view_hack) override; |
| 64 RenderWidgetHostViewBase* CreateViewForPopupWidget( | 64 RenderWidgetHostViewBase* CreateViewForPopupWidget( |
| 65 RenderWidgetHost* render_widget_host) override; | 65 RenderWidgetHost* render_widget_host) override; |
| 66 void SetPageTitle(const base::string16& title) override; | 66 void SetPageTitle(const base::string16& title) override; |
| 67 void RenderViewCreated(RenderViewHost* host) override; | 67 void RenderViewCreated(RenderViewHost* host) override; |
| 68 void RenderViewSwappedIn(RenderViewHost* host) override; | 68 void RenderViewSwappedIn(RenderViewHost* host) override; |
| 69 void SetOverscrollControllerEnabled(bool enabled) override; | 69 void SetOverscrollControllerEnabled(bool enabled) override; |
| 70 ui::Compositor* GetCompositor() const override; |
| 70 | 71 |
| 71 // Backend implementation of RenderViewHostDelegateView. | 72 // Backend implementation of RenderViewHostDelegateView. |
| 72 void ShowContextMenu(RenderFrameHost* render_frame_host, | 73 void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 73 const ContextMenuParams& params) override; | 74 const ContextMenuParams& params) override; |
| 74 void ShowPopupMenu(RenderFrameHost* render_frame_host, | 75 void ShowPopupMenu(RenderFrameHost* render_frame_host, |
| 75 const gfx::Rect& bounds, | 76 const gfx::Rect& bounds, |
| 76 int item_height, | 77 int item_height, |
| 77 double item_font_size, | 78 double item_font_size, |
| 78 int selected_item, | 79 int selected_item, |
| 79 const std::vector<MenuItem>& items, | 80 const std::vector<MenuItem>& items, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 116 |
| 116 // Interface used to get notified of events from the synchronous compositor. | 117 // Interface used to get notified of events from the synchronous compositor. |
| 117 SynchronousCompositorClient* synchronous_compositor_client_; | 118 SynchronousCompositorClient* synchronous_compositor_client_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 120 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace content | 123 } // namespace content |
| 123 | 124 |
| 124 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 125 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| OLD | NEW |