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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; | 113 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; |
114 virtual void RenderProcessGone(base::TerminationStatus status, | 114 virtual void RenderProcessGone(base::TerminationStatus status, |
115 int error_code) OVERRIDE; | 115 int error_code) OVERRIDE; |
116 virtual void Destroy() OVERRIDE; | 116 virtual void Destroy() OVERRIDE; |
117 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 117 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
118 virtual void SelectionChanged(const base::string16& text, | 118 virtual void SelectionChanged(const base::string16& text, |
119 size_t offset, | 119 size_t offset, |
120 const gfx::Range& range) OVERRIDE; | 120 const gfx::Range& range) OVERRIDE; |
121 virtual void SelectionBoundsChanged( | 121 virtual void SelectionBoundsChanged( |
122 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 122 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 123 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE; |
123 virtual void ScrollOffsetChanged() OVERRIDE; | 124 virtual void ScrollOffsetChanged() OVERRIDE; |
124 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 125 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
125 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 126 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
126 virtual void AcceleratedSurfaceInitialized(int host_id, | 127 virtual void AcceleratedSurfaceInitialized(int host_id, |
127 int route_id) OVERRIDE; | 128 int route_id) OVERRIDE; |
128 virtual void AcceleratedSurfaceBuffersSwapped( | 129 virtual void AcceleratedSurfaceBuffersSwapped( |
129 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 130 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
130 int gpu_host_id) OVERRIDE; | 131 int gpu_host_id) OVERRIDE; |
131 virtual void AcceleratedSurfacePostSubBuffer( | 132 virtual void AcceleratedSurfacePostSubBuffer( |
132 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 133 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 361 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
361 | 362 |
362 bool using_delegated_renderer_; | 363 bool using_delegated_renderer_; |
363 | 364 |
364 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 365 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
365 }; | 366 }; |
366 | 367 |
367 } // namespace content | 368 } // namespace content |
368 | 369 |
369 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 370 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |