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 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 bool can_compose_inline) OVERRIDE; | 105 bool can_compose_inline) OVERRIDE; |
106 virtual void ImeCancelComposition() OVERRIDE; | 106 virtual void ImeCancelComposition() OVERRIDE; |
107 virtual void DidUpdateBackingStore( | 107 virtual void DidUpdateBackingStore( |
108 const gfx::Rect& scroll_rect, | 108 const gfx::Rect& scroll_rect, |
109 const gfx::Vector2d& scroll_delta, | 109 const gfx::Vector2d& scroll_delta, |
110 const std::vector<gfx::Rect>& copy_rects, | 110 const std::vector<gfx::Rect>& copy_rects, |
111 const ui::LatencyInfo& latency_info) OVERRIDE; | 111 const ui::LatencyInfo& latency_info) OVERRIDE; |
112 virtual void RenderProcessGone(base::TerminationStatus status, | 112 virtual void RenderProcessGone(base::TerminationStatus status, |
113 int error_code) OVERRIDE; | 113 int error_code) OVERRIDE; |
114 virtual void Destroy() OVERRIDE; | 114 virtual void Destroy() OVERRIDE; |
115 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 115 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
116 virtual void SelectionChanged(const string16& text, | 116 virtual void SelectionChanged(const base::string16& text, |
117 size_t offset, | 117 size_t offset, |
118 const gfx::Range& range) OVERRIDE; | 118 const gfx::Range& range) OVERRIDE; |
119 virtual void SelectionBoundsChanged( | 119 virtual void SelectionBoundsChanged( |
120 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 120 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
121 virtual void ScrollOffsetChanged() OVERRIDE; | 121 virtual void ScrollOffsetChanged() OVERRIDE; |
122 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 122 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
123 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 123 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
124 virtual void AcceleratedSurfaceInitialized(int host_id, | 124 virtual void AcceleratedSurfaceInitialized(int host_id, |
125 int route_id) OVERRIDE; | 125 int route_id) OVERRIDE; |
126 virtual void AcceleratedSurfaceBuffersSwapped( | 126 virtual void AcceleratedSurfaceBuffersSwapped( |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 gfx::Size default_size_; | 335 gfx::Size default_size_; |
336 | 336 |
337 const bool using_synchronous_compositor_; | 337 const bool using_synchronous_compositor_; |
338 | 338 |
339 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 339 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
340 }; | 340 }; |
341 | 341 |
342 } // namespace content | 342 } // namespace content |
343 | 343 |
344 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 344 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |