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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 uint32 output_surface_id, | 159 uint32 output_surface_id, |
160 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 160 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
161 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE; | 161 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE; |
162 virtual void DidStopFlinging() OVERRIDE; | 162 virtual void DidStopFlinging() OVERRIDE; |
163 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 163 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
164 const SkBitmap& zoomed_bitmap) OVERRIDE; | 164 const SkBitmap& zoomed_bitmap) OVERRIDE; |
165 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 165 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
166 OVERRIDE; | 166 OVERRIDE; |
167 virtual void LockCompositingSurface() OVERRIDE; | 167 virtual void LockCompositingSurface() OVERRIDE; |
168 virtual void UnlockCompositingSurface() OVERRIDE; | 168 virtual void UnlockCompositingSurface() OVERRIDE; |
| 169 virtual void OnTextSurroundingSelectionResponse(const base::string16& content, |
| 170 unsigned start_offset, |
| 171 unsigned end_offset) OVERRIDE; |
169 | 172 |
170 // cc::DelegatedFrameResourceCollectionClient implementation. | 173 // cc::DelegatedFrameResourceCollectionClient implementation. |
171 virtual void UnusedResourcesAreAvailable() OVERRIDE; | 174 virtual void UnusedResourcesAreAvailable() OVERRIDE; |
172 | 175 |
173 // ui::GestureProviderClient implementation. | 176 // ui::GestureProviderClient implementation. |
174 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; | 177 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; |
175 | 178 |
176 // ui::WindowAndroidObserver implementation. | 179 // ui::WindowAndroidObserver implementation. |
177 virtual void OnCompositingDidCommit() OVERRIDE; | 180 virtual void OnCompositingDidCommit() OVERRIDE; |
178 virtual void OnAttachCompositor() OVERRIDE {} | 181 virtual void OnAttachCompositor() OVERRIDE {} |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 }; | 356 }; |
354 | 357 |
355 scoped_ptr<LastFrameInfo> last_frame_info_; | 358 scoped_ptr<LastFrameInfo> last_frame_info_; |
356 | 359 |
357 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
358 }; | 361 }; |
359 | 362 |
360 } // namespace content | 363 } // namespace content |
361 | 364 |
362 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |