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