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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool DoTopControlsShrinkBlinkSize() const override; | 111 bool DoTopControlsShrinkBlinkSize() const override; |
112 float GetTopControlsHeight() const override; | 112 float GetTopControlsHeight() const override; |
113 float GetBottomControlsHeight() const override; | 113 float GetBottomControlsHeight() const override; |
114 void UpdateCursor(const WebCursor& cursor) override; | 114 void UpdateCursor(const WebCursor& cursor) override; |
115 void SetIsLoading(bool is_loading) override; | 115 void SetIsLoading(bool is_loading) override; |
116 void TextInputStateChanged(const TextInputState& params) override; | 116 void TextInputStateChanged(const TextInputState& params) override; |
117 void ImeCancelComposition() override; | 117 void ImeCancelComposition() override; |
118 void ImeCompositionRangeChanged( | 118 void ImeCompositionRangeChanged( |
119 const gfx::Range& range, | 119 const gfx::Range& range, |
120 const std::vector<gfx::Rect>& character_bounds) override; | 120 const std::vector<gfx::Rect>& character_bounds) override; |
121 void FocusedNodeChanged(bool is_editable_node) override; | 121 void FocusedNodeChanged(bool is_editable_node, |
| 122 const gfx::Rect& node_bounds_in_screen) override; |
122 void RenderProcessGone(base::TerminationStatus status, | 123 void RenderProcessGone(base::TerminationStatus status, |
123 int error_code) override; | 124 int error_code) override; |
124 void Destroy() override; | 125 void Destroy() override; |
125 void SetTooltipText(const base::string16& tooltip_text) override; | 126 void SetTooltipText(const base::string16& tooltip_text) override; |
126 void SelectionChanged(const base::string16& text, | 127 void SelectionChanged(const base::string16& text, |
127 size_t offset, | 128 size_t offset, |
128 const gfx::Range& range) override; | 129 const gfx::Range& range) override; |
129 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 130 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
130 void SetBackgroundColor(SkColor color) override; | 131 void SetBackgroundColor(SkColor color) override; |
131 void CopyFromCompositingSurface( | 132 void CopyFromCompositingSurface( |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 gfx::Vector2dF last_scroll_offset_; | 384 gfx::Vector2dF last_scroll_offset_; |
384 | 385 |
385 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 386 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
386 | 387 |
387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
388 }; | 389 }; |
389 | 390 |
390 } // namespace content | 391 } // namespace content |
391 | 392 |
392 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |