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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 76 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
77 virtual void WasShown() OVERRIDE; | 77 virtual void WasShown() OVERRIDE; |
78 virtual void WasHidden() OVERRIDE; | 78 virtual void WasHidden() OVERRIDE; |
79 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 79 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
80 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 80 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
81 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 81 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
82 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 82 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
83 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 83 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
84 virtual void MovePluginWindows( | 84 virtual void MovePluginWindows( |
85 const gfx::Vector2d& scroll_offset, | 85 const gfx::Vector2d& scroll_offset, |
86 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 86 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
87 virtual void Focus() OVERRIDE; | 87 virtual void Focus() OVERRIDE; |
88 virtual void Blur() OVERRIDE; | 88 virtual void Blur() OVERRIDE; |
89 virtual bool HasFocus() const OVERRIDE; | 89 virtual bool HasFocus() const OVERRIDE; |
90 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 90 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
91 virtual void Show() OVERRIDE; | 91 virtual void Show() OVERRIDE; |
92 virtual void Hide() OVERRIDE; | 92 virtual void Hide() OVERRIDE; |
93 virtual bool IsShowing() OVERRIDE; | 93 virtual bool IsShowing() OVERRIDE; |
94 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 94 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
95 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; | 95 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
96 virtual float GetOverdrawBottomHeight() const OVERRIDE; | 96 virtual float GetOverdrawBottomHeight() const OVERRIDE; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // Used to render overscroll overlays. | 303 // Used to render overscroll overlays. |
304 bool overscroll_effect_enabled_; | 304 bool overscroll_effect_enabled_; |
305 scoped_ptr<OverscrollGlow> overscroll_effect_; | 305 scoped_ptr<OverscrollGlow> overscroll_effect_; |
306 | 306 |
307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
308 }; | 308 }; |
309 | 309 |
310 } // namespace content | 310 } // namespace content |
311 | 311 |
312 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 312 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |