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 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const gfx::Vector2d& scroll_offset, | 69 const gfx::Vector2d& scroll_offset, |
70 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 70 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
71 virtual void Focus() OVERRIDE; | 71 virtual void Focus() OVERRIDE; |
72 virtual void Blur() OVERRIDE; | 72 virtual void Blur() OVERRIDE; |
73 virtual bool HasFocus() const OVERRIDE; | 73 virtual bool HasFocus() const OVERRIDE; |
74 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 74 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
75 virtual void Show() OVERRIDE; | 75 virtual void Show() OVERRIDE; |
76 virtual void Hide() OVERRIDE; | 76 virtual void Hide() OVERRIDE; |
77 virtual bool IsShowing() OVERRIDE; | 77 virtual bool IsShowing() OVERRIDE; |
78 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 78 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 79 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
79 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 80 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
80 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 81 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
81 virtual void TextInputStateChanged( | 82 virtual void TextInputStateChanged( |
82 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 83 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
83 virtual void ImeCancelComposition() OVERRIDE; | 84 virtual void ImeCancelComposition() OVERRIDE; |
84 virtual void ImeCompositionRangeChanged( | 85 virtual void ImeCompositionRangeChanged( |
85 const ui::Range& range, | 86 const ui::Range& range, |
86 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 87 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
87 virtual void DidUpdateBackingStore( | 88 virtual void DidUpdateBackingStore( |
88 const gfx::Rect& scroll_rect, | 89 const gfx::Rect& scroll_rect, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 209 |
209 // The mailbox name of the previously received frame. | 210 // The mailbox name of the previously received frame. |
210 std::string current_mailbox_name_; | 211 std::string current_mailbox_name_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 213 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace content | 216 } // namespace content |
216 | 217 |
217 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 218 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |