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