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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 302 |
303 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( | 303 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( |
304 const gfx::Size& size) { | 304 const gfx::Size& size) { |
305 NOTREACHED(); | 305 NOTREACHED(); |
306 return NULL; | 306 return NULL; |
307 } | 307 } |
308 | 308 |
309 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 309 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
310 const gfx::Rect& src_subrect, | 310 const gfx::Rect& src_subrect, |
311 const gfx::Size& /* dst_size */, | 311 const gfx::Size& /* dst_size */, |
312 const base::Callback<void(bool, const SkBitmap&)>& callback) { | 312 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 313 bool readback_config_rgb565) { |
313 callback.Run(false, SkBitmap()); | 314 callback.Run(false, SkBitmap()); |
314 } | 315 } |
315 | 316 |
316 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( | 317 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( |
317 const gfx::Rect& src_subrect, | 318 const gfx::Rect& src_subrect, |
318 const scoped_refptr<media::VideoFrame>& target, | 319 const scoped_refptr<media::VideoFrame>& target, |
319 const base::Callback<void(bool)>& callback) { | 320 const base::Callback<void(bool)>& callback) { |
320 NOTIMPLEMENTED(); | 321 NOTIMPLEMENTED(); |
321 callback.Run(false); | 322 callback.Run(false); |
322 } | 323 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 gfx::NativeViewAccessible accessible_parent) { | 355 gfx::NativeViewAccessible accessible_parent) { |
355 } | 356 } |
356 | 357 |
357 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 358 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
358 const { | 359 const { |
359 return NULL; | 360 return NULL; |
360 } | 361 } |
361 #endif // defined(OS_WIN) && defined(USE_AURA) | 362 #endif // defined(OS_WIN) && defined(USE_AURA) |
362 | 363 |
363 } // namespace content | 364 } // namespace content |
OLD | NEW |