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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 long GetNativeImeAdapter(); | 245 long GetNativeImeAdapter(); |
246 | 246 |
247 void WasResized(); | 247 void WasResized(); |
248 | 248 |
249 void GetScaledContentBitmap( | 249 void GetScaledContentBitmap( |
250 float scale, | 250 float scale, |
251 SkColorType color_type, | 251 SkColorType color_type, |
252 gfx::Rect src_subrect, | 252 gfx::Rect src_subrect, |
253 const base::Callback<void(bool, const SkBitmap&)>& result_callback); | 253 const base::Callback<void(bool, const SkBitmap&)>& result_callback); |
254 | 254 |
| 255 scoped_refptr<cc::DelegatedRendererLayer> |
| 256 CreateDelegatedLayerForFrameProvider() const; |
| 257 |
255 bool HasValidFrame() const; | 258 bool HasValidFrame() const; |
256 | 259 |
257 void MoveCaret(const gfx::Point& point); | 260 void MoveCaret(const gfx::Point& point); |
258 void HideTextHandles(); | 261 void HideTextHandles(); |
259 void OnShowingPastePopup(const gfx::PointF& point); | 262 void OnShowingPastePopup(const gfx::PointF& point); |
260 | 263 |
261 void SynchronousFrameMetadata( | 264 void SynchronousFrameMetadata( |
262 const cc::CompositorFrameMetadata& frame_metadata); | 265 const cc::CompositorFrameMetadata& frame_metadata); |
263 | 266 |
264 void SetOverlayVideoMode(bool enabled); | 267 void SetOverlayVideoMode(bool enabled); |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 | 431 |
429 // List of readbackrequests waiting for arrival of a valid frame. | 432 // List of readbackrequests waiting for arrival of a valid frame. |
430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; | 433 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; |
431 | 434 |
432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 435 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
433 }; | 436 }; |
434 | 437 |
435 } // namespace content | 438 } // namespace content |
436 | 439 |
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |