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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 void GetScaledContentBitmap( | 226 void GetScaledContentBitmap( |
227 float scale, | 227 float scale, |
228 SkColorType color_type, | 228 SkColorType color_type, |
229 gfx::Rect src_subrect, | 229 gfx::Rect src_subrect, |
230 const base::Callback<void(bool, const SkBitmap&)>& result_callback); | 230 const base::Callback<void(bool, const SkBitmap&)>& result_callback); |
231 | 231 |
232 bool HasValidFrame() const; | 232 bool HasValidFrame() const; |
233 | 233 |
234 void MoveCaret(const gfx::Point& point); | 234 void MoveCaret(const gfx::Point& point); |
235 void HideTextHandles(); | 235 void HideTextHandles(); |
| 236 void OnShowingPastePopup(const gfx::PointF& point); |
236 | 237 |
237 void SynchronousFrameMetadata( | 238 void SynchronousFrameMetadata( |
238 const cc::CompositorFrameMetadata& frame_metadata); | 239 const cc::CompositorFrameMetadata& frame_metadata); |
239 | 240 |
240 void SetOverlayVideoMode(bool enabled); | 241 void SetOverlayVideoMode(bool enabled); |
241 | 242 |
242 typedef base::Callback< | 243 typedef base::Callback< |
243 void(const base::string16& content, int start_offset, int end_offset)> | 244 void(const base::string16& content, int start_offset, int end_offset)> |
244 TextSurroundingSelectionCallback; | 245 TextSurroundingSelectionCallback; |
245 void SetTextSurroundingSelectionCallback( | 246 void SetTextSurroundingSelectionCallback( |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 scoped_ptr<LastFrameInfo> last_frame_info_; | 396 scoped_ptr<LastFrameInfo> last_frame_info_; |
396 | 397 |
397 TextSurroundingSelectionCallback text_surrounding_selection_callback_; | 398 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
398 | 399 |
399 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
400 }; | 401 }; |
401 | 402 |
402 } // namespace content | 403 } // namespace content |
403 | 404 |
404 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |