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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 gfx::NativeViewId GetNativeViewId() const override; | 93 gfx::NativeViewId GetNativeViewId() const override; |
94 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 94 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
95 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 95 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
96 void Focus() override; | 96 void Focus() override; |
97 bool HasFocus() const override; | 97 bool HasFocus() const override; |
98 bool IsSurfaceAvailableForCopy() const override; | 98 bool IsSurfaceAvailableForCopy() const override; |
99 void Show() override; | 99 void Show() override; |
100 void Hide() override; | 100 void Hide() override; |
101 bool IsShowing() override; | 101 bool IsShowing() override; |
102 gfx::Rect GetViewBounds() const override; | 102 gfx::Rect GetViewBounds() const override; |
| 103 gfx::Size GetVisibleViewportSize() const override; |
103 gfx::Size GetPhysicalBackingSize() const override; | 104 gfx::Size GetPhysicalBackingSize() const override; |
104 bool DoTopControlsShrinkBlinkSize() const override; | 105 bool DoTopControlsShrinkBlinkSize() const override; |
105 float GetTopControlsHeight() const override; | 106 float GetTopControlsHeight() const override; |
106 void UpdateCursor(const WebCursor& cursor) override; | 107 void UpdateCursor(const WebCursor& cursor) override; |
107 void SetIsLoading(bool is_loading) override; | 108 void SetIsLoading(bool is_loading) override; |
108 void TextInputStateChanged( | 109 void TextInputStateChanged( |
109 const ViewHostMsg_TextInputState_Params& params) override; | 110 const ViewHostMsg_TextInputState_Params& params) override; |
110 void ImeCancelComposition() override; | 111 void ImeCancelComposition() override; |
111 void ImeCompositionRangeChanged( | 112 void ImeCompositionRangeChanged( |
112 const gfx::Range& range, | 113 const gfx::Range& range, |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 gfx::Vector2dF last_scroll_offset_; | 410 gfx::Vector2dF last_scroll_offset_; |
410 | 411 |
411 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 412 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
412 | 413 |
413 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 414 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
414 }; | 415 }; |
415 | 416 |
416 } // namespace content | 417 } // namespace content |
417 | 418 |
418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 419 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |