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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 103 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
104 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 104 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
105 const gfx::Rect& pos) OVERRIDE; | 105 const gfx::Rect& pos) OVERRIDE; |
106 virtual void InitAsFullscreen( | 106 virtual void InitAsFullscreen( |
107 RenderWidgetHostView* reference_host_view) OVERRIDE; | 107 RenderWidgetHostView* reference_host_view) OVERRIDE; |
108 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 108 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
109 virtual void WasShown() OVERRIDE; | 109 virtual void WasShown() OVERRIDE; |
110 virtual void WasHidden() OVERRIDE; | 110 virtual void WasHidden() OVERRIDE; |
111 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 111 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
112 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 112 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 113 virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE; |
113 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 114 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
114 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 115 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
115 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 116 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
116 virtual void MovePluginWindows( | 117 virtual void MovePluginWindows( |
117 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 118 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
118 virtual void Focus() OVERRIDE; | 119 virtual void Focus() OVERRIDE; |
119 virtual void Blur() OVERRIDE; | 120 virtual void Blur() OVERRIDE; |
120 virtual bool HasFocus() const OVERRIDE; | 121 virtual bool HasFocus() const OVERRIDE; |
121 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 122 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
122 virtual void Show() OVERRIDE; | 123 virtual void Show() OVERRIDE; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 | 428 |
428 // List of readbackrequests waiting for arrival of a valid frame. | 429 // List of readbackrequests waiting for arrival of a valid frame. |
429 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; | 430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; |
430 | 431 |
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
432 }; | 433 }; |
433 | 434 |
434 } // namespace content | 435 } // namespace content |
435 | 436 |
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |