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