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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 gfx::NativeViewId GetNativeViewId() const override; | 98 gfx::NativeViewId GetNativeViewId() const override; |
99 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 99 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
100 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 100 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
101 void Focus() override; | 101 void Focus() override; |
102 bool HasFocus() const override; | 102 bool HasFocus() const override; |
103 bool IsSurfaceAvailableForCopy() const override; | 103 bool IsSurfaceAvailableForCopy() const override; |
104 void Show() override; | 104 void Show() override; |
105 void Hide() override; | 105 void Hide() override; |
106 bool IsShowing() override; | 106 bool IsShowing() override; |
107 gfx::Rect GetViewBounds() const override; | 107 gfx::Rect GetViewBounds() const override; |
| 108 gfx::Size GetVisibleViewportSize() const override; |
108 gfx::Size GetPhysicalBackingSize() const override; | 109 gfx::Size GetPhysicalBackingSize() const override; |
109 bool DoTopControlsShrinkBlinkSize() const override; | 110 bool DoTopControlsShrinkBlinkSize() const override; |
110 float GetTopControlsHeight() const override; | 111 float GetTopControlsHeight() const override; |
111 void UpdateCursor(const WebCursor& cursor) override; | 112 void UpdateCursor(const WebCursor& cursor) override; |
112 void SetIsLoading(bool is_loading) override; | 113 void SetIsLoading(bool is_loading) override; |
113 void TextInputStateChanged( | 114 void TextInputStateChanged( |
114 const ViewHostMsg_TextInputState_Params& params) override; | 115 const ViewHostMsg_TextInputState_Params& params) override; |
115 void ImeCancelComposition() override; | 116 void ImeCancelComposition() override; |
116 void ImeCompositionRangeChanged( | 117 void ImeCompositionRangeChanged( |
117 const gfx::Range& range, | 118 const gfx::Range& range, |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 gfx::Vector2dF last_scroll_offset_; | 425 gfx::Vector2dF last_scroll_offset_; |
425 | 426 |
426 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
427 | 428 |
428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
429 }; | 430 }; |
430 | 431 |
431 } // namespace content | 432 } // namespace content |
432 | 433 |
433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |