| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 int route_id) OVERRIDE; | 121 int route_id) OVERRIDE; |
| 122 virtual void AcceleratedSurfaceBuffersSwapped( | 122 virtual void AcceleratedSurfaceBuffersSwapped( |
| 123 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 123 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 124 int gpu_host_id) OVERRIDE; | 124 int gpu_host_id) OVERRIDE; |
| 125 virtual void AcceleratedSurfacePostSubBuffer( | 125 virtual void AcceleratedSurfacePostSubBuffer( |
| 126 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 126 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 127 int gpu_host_id) OVERRIDE; | 127 int gpu_host_id) OVERRIDE; |
| 128 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 128 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 129 virtual void AcceleratedSurfaceRelease() OVERRIDE; | 129 virtual void AcceleratedSurfaceRelease() OVERRIDE; |
| 130 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 130 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
| 131 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 131 virtual void SetBackgroundOpaque(bool transparent) OVERRIDE; |
| 132 virtual void CopyFromCompositingSurface( | 132 virtual void CopyFromCompositingSurface( |
| 133 const gfx::Rect& src_subrect, | 133 const gfx::Rect& src_subrect, |
| 134 const gfx::Size& dst_size, | 134 const gfx::Size& dst_size, |
| 135 const base::Callback<void(bool, const SkBitmap&)>& callback, | 135 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 136 const SkBitmap::Config config) OVERRIDE; | 136 const SkBitmap::Config config) OVERRIDE; |
| 137 virtual void CopyFromCompositingSurfaceToVideoFrame( | 137 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 138 const gfx::Rect& src_subrect, | 138 const gfx::Rect& src_subrect, |
| 139 const scoped_refptr<media::VideoFrame>& target, | 139 const scoped_refptr<media::VideoFrame>& target, |
| 140 const base::Callback<void(bool)>& callback) OVERRIDE; | 140 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 141 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 141 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 }; | 354 }; |
| 355 | 355 |
| 356 scoped_ptr<LastFrameInfo> last_frame_info_; | 356 scoped_ptr<LastFrameInfo> last_frame_info_; |
| 357 | 357 |
| 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 359 }; | 359 }; |
| 360 | 360 |
| 361 } // namespace content | 361 } // namespace content |
| 362 | 362 |
| 363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |