| 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 void SelectionChanged(const base::string16& text, | 115 void SelectionChanged(const base::string16& text, |
| 114 size_t offset, | 116 size_t offset, |
| 115 const gfx::Range& range) override; | 117 const gfx::Range& range) override; |
| 116 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 118 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 gfx::Vector2dF last_scroll_offset_; | 401 gfx::Vector2dF last_scroll_offset_; |
| 400 | 402 |
| 401 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 403 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 402 | 404 |
| 403 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 404 }; | 406 }; |
| 405 | 407 |
| 406 } // namespace content | 408 } // namespace content |
| 407 | 409 |
| 408 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 410 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |