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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 RenderWidgetHostView* reference_host_view) OVERRIDE; | 42 RenderWidgetHostView* reference_host_view) OVERRIDE; |
43 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 43 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
44 virtual void WasShown() OVERRIDE; | 44 virtual void WasShown() OVERRIDE; |
45 virtual void WasHidden() OVERRIDE; | 45 virtual void WasHidden() OVERRIDE; |
46 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 46 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
47 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 47 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
48 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 48 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
49 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 49 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
50 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 50 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
51 virtual void MovePluginWindows( | 51 virtual void MovePluginWindows( |
| 52 const gfx::Point& scroll_offset, |
52 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 53 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
53 virtual void Focus() OVERRIDE; | 54 virtual void Focus() OVERRIDE; |
54 virtual void Blur() OVERRIDE; | 55 virtual void Blur() OVERRIDE; |
55 virtual bool HasFocus() const OVERRIDE; | 56 virtual bool HasFocus() const OVERRIDE; |
56 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 57 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
57 virtual void Show() OVERRIDE; | 58 virtual void Show() OVERRIDE; |
58 virtual void Hide() OVERRIDE; | 59 virtual void Hide() OVERRIDE; |
59 virtual bool IsShowing() OVERRIDE; | 60 virtual bool IsShowing() OVERRIDE; |
60 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 61 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
61 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 62 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 135 |
135 // The texture layer for this view when using browser-side compositing. | 136 // The texture layer for this view when using browser-side compositing. |
136 scoped_ptr<WebKit::WebExternalTextureLayer> texture_layer_; | 137 scoped_ptr<WebKit::WebExternalTextureLayer> texture_layer_; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 139 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace content | 142 } // namespace content |
142 | 143 |
143 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 144 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |