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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 void Show() override; | 102 void Show() override; |
103 void Hide() override; | 103 void Hide() override; |
104 bool IsShowing() override; | 104 bool IsShowing() override; |
105 gfx::Rect GetViewBounds() const override; | 105 gfx::Rect GetViewBounds() const override; |
106 gfx::Size GetVisibleViewportSize() const override; | 106 gfx::Size GetVisibleViewportSize() const override; |
107 gfx::Size GetPhysicalBackingSize() const override; | 107 gfx::Size GetPhysicalBackingSize() const override; |
108 bool DoTopControlsShrinkBlinkSize() const override; | 108 bool DoTopControlsShrinkBlinkSize() const override; |
109 float GetTopControlsHeight() const override; | 109 float GetTopControlsHeight() const override; |
110 void UpdateCursor(const WebCursor& cursor) override; | 110 void UpdateCursor(const WebCursor& cursor) override; |
111 void SetIsLoading(bool is_loading) override; | 111 void SetIsLoading(bool is_loading) override; |
112 void UpdateInputMethodIfNecessary(bool text_input_state_changed) override; | 112 void TextInputStateChanged( |
| 113 const ViewHostMsg_TextInputState_Params& params) override; |
113 void ImeCancelComposition() override; | 114 void ImeCancelComposition() override; |
114 void ImeCompositionRangeChanged( | 115 void ImeCompositionRangeChanged( |
115 const gfx::Range& range, | 116 const gfx::Range& range, |
116 const std::vector<gfx::Rect>& character_bounds) override; | 117 const std::vector<gfx::Rect>& character_bounds) override; |
117 void FocusedNodeChanged(bool is_editable_node) override; | 118 void FocusedNodeChanged(bool is_editable_node) override; |
118 void RenderProcessGone(base::TerminationStatus status, | 119 void RenderProcessGone(base::TerminationStatus status, |
119 int error_code) override; | 120 int error_code) override; |
120 void Destroy() override; | 121 void Destroy() override; |
121 void SetTooltipText(const base::string16& tooltip_text) override; | 122 void SetTooltipText(const base::string16& tooltip_text) override; |
122 void SelectionChanged(const base::string16& text, | 123 void SelectionChanged(const base::string16& text, |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 gfx::Vector2dF last_scroll_offset_; | 408 gfx::Vector2dF last_scroll_offset_; |
408 | 409 |
409 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 410 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
410 | 411 |
411 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 412 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
412 }; | 413 }; |
413 | 414 |
414 } // namespace content | 415 } // namespace content |
415 | 416 |
416 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |