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