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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 const std::vector<WebPluginGeometry>& moves) override; | 113 const std::vector<WebPluginGeometry>& moves) override; |
114 virtual void Focus() override; | 114 virtual void Focus() override; |
115 virtual void Blur() override; | 115 virtual void Blur() override; |
116 virtual bool HasFocus() const override; | 116 virtual bool HasFocus() const override; |
117 virtual bool IsSurfaceAvailableForCopy() const override; | 117 virtual bool IsSurfaceAvailableForCopy() const override; |
118 virtual void Show() override; | 118 virtual void Show() override; |
119 virtual void Hide() override; | 119 virtual void Hide() override; |
120 virtual bool IsShowing() override; | 120 virtual bool IsShowing() override; |
121 virtual gfx::Rect GetViewBounds() const override; | 121 virtual gfx::Rect GetViewBounds() const override; |
122 virtual gfx::Size GetPhysicalBackingSize() const override; | 122 virtual gfx::Size GetPhysicalBackingSize() const override; |
123 virtual float GetTopControlsLayoutHeight() const override; | 123 virtual bool GetTopControlsShrinkBlinkSize() const override; |
| 124 virtual float GetTopControlsHeight() const override; |
124 virtual void UpdateCursor(const WebCursor& cursor) override; | 125 virtual void UpdateCursor(const WebCursor& cursor) override; |
125 virtual void SetIsLoading(bool is_loading) override; | 126 virtual void SetIsLoading(bool is_loading) override; |
126 virtual void TextInputTypeChanged(ui::TextInputType type, | 127 virtual void TextInputTypeChanged(ui::TextInputType type, |
127 ui::TextInputMode input_mode, | 128 ui::TextInputMode input_mode, |
128 bool can_compose_inline, | 129 bool can_compose_inline, |
129 int flags) override; | 130 int flags) override; |
130 virtual void ImeCancelComposition() override; | 131 virtual void ImeCancelComposition() override; |
131 virtual void ImeCompositionRangeChanged( | 132 virtual void ImeCompositionRangeChanged( |
132 const gfx::Range& range, | 133 const gfx::Range& range, |
133 const std::vector<gfx::Rect>& character_bounds) override; | 134 const std::vector<gfx::Rect>& character_bounds) override; |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 gfx::Vector2dF last_scroll_offset_; | 419 gfx::Vector2dF last_scroll_offset_; |
419 | 420 |
420 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 421 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
421 | 422 |
422 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
423 }; | 424 }; |
424 | 425 |
425 } // namespace content | 426 } // namespace content |
426 | 427 |
427 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |