OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" |
8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" |
9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 307 |
308 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( | 308 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( |
309 const gfx::Size& size) { | 309 const gfx::Size& size) { |
310 NOTREACHED(); | 310 NOTREACHED(); |
311 return NULL; | 311 return NULL; |
312 } | 312 } |
313 | 313 |
314 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 314 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
315 const gfx::Rect& src_subrect, | 315 const gfx::Rect& src_subrect, |
316 const gfx::Size& /* dst_size */, | 316 const gfx::Size& /* dst_size */, |
317 const base::Callback<void(bool, const SkBitmap&)>& callback) { | 317 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 318 bool readback_config_rgb565) { |
318 callback.Run(false, SkBitmap()); | 319 callback.Run(false, SkBitmap()); |
319 } | 320 } |
320 | 321 |
321 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( | 322 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( |
322 const gfx::Rect& src_subrect, | 323 const gfx::Rect& src_subrect, |
323 const scoped_refptr<media::VideoFrame>& target, | 324 const scoped_refptr<media::VideoFrame>& target, |
324 const base::Callback<void(bool)>& callback) { | 325 const base::Callback<void(bool)>& callback) { |
325 NOTIMPLEMENTED(); | 326 NOTIMPLEMENTED(); |
326 callback.Run(false); | 327 callback.Run(false); |
327 } | 328 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 gfx::NativeViewAccessible accessible_parent) { | 365 gfx::NativeViewAccessible accessible_parent) { |
365 } | 366 } |
366 | 367 |
367 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 368 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
368 const { | 369 const { |
369 return NULL; | 370 return NULL; |
370 } | 371 } |
371 #endif // defined(OS_WIN) && defined(USE_AURA) | 372 #endif // defined(OS_WIN) && defined(USE_AURA) |
372 | 373 |
373 } // namespace content | 374 } // namespace content |
OLD | NEW |