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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void Hide() override; | 97 void Hide() override; |
98 bool IsShowing() override; | 98 bool IsShowing() override; |
99 gfx::Rect GetViewBounds() const override; | 99 gfx::Rect GetViewBounds() const override; |
100 gfx::Size GetVisibleViewportSize() const override; | 100 gfx::Size GetVisibleViewportSize() const override; |
101 gfx::Size GetPhysicalBackingSize() const override; | 101 gfx::Size GetPhysicalBackingSize() const override; |
102 bool DoBrowserControlsShrinkBlinkSize() const override; | 102 bool DoBrowserControlsShrinkBlinkSize() const override; |
103 float GetTopControlsHeight() const override; | 103 float GetTopControlsHeight() const override; |
104 float GetBottomControlsHeight() const override; | 104 float GetBottomControlsHeight() const override; |
105 void UpdateCursor(const WebCursor& cursor) override; | 105 void UpdateCursor(const WebCursor& cursor) override; |
106 void SetIsLoading(bool is_loading) override; | 106 void SetIsLoading(bool is_loading) override; |
| 107 void ShowTextSuggestionMenu(const std::vector<blink::WebTextSuggestionInfo>& |
| 108 suggestionInfos) override; |
107 void FocusedNodeChanged(bool is_editable_node, | 109 void FocusedNodeChanged(bool is_editable_node, |
108 const gfx::Rect& node_bounds_in_screen) override; | 110 const gfx::Rect& node_bounds_in_screen) override; |
109 void RenderProcessGone(base::TerminationStatus status, | 111 void RenderProcessGone(base::TerminationStatus status, |
110 int error_code) override; | 112 int error_code) override; |
111 void Destroy() override; | 113 void Destroy() override; |
112 void SetTooltipText(const base::string16& tooltip_text) override; | 114 void SetTooltipText(const base::string16& tooltip_text) override; |
113 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 115 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
114 void SetBackgroundColor(SkColor color) override; | 116 void SetBackgroundColor(SkColor color) override; |
115 void CopyFromCompositingSurface( | 117 void CopyFromCompositingSurface( |
116 const gfx::Rect& src_subrect, | 118 const gfx::Rect& src_subrect, |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 gfx::Vector2dF last_scroll_offset_; | 400 gfx::Vector2dF last_scroll_offset_; |
399 | 401 |
400 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 402 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
401 | 403 |
402 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 404 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
403 }; | 405 }; |
404 | 406 |
405 } // namespace content | 407 } // namespace content |
406 | 408 |
407 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |