| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 const SkBitmap::Config config) { |
| 314 callback.Run(false, SkBitmap()); | 314 callback.Run(false, SkBitmap()); |
| 315 } | 315 } |
| 316 | 316 |
| 317 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( | 317 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( |
| 318 const gfx::Rect& src_subrect, | 318 const gfx::Rect& src_subrect, |
| 319 const scoped_refptr<media::VideoFrame>& target, | 319 const scoped_refptr<media::VideoFrame>& target, |
| 320 const base::Callback<void(bool)>& callback) { | 320 const base::Callback<void(bool)>& callback) { |
| 321 NOTIMPLEMENTED(); | 321 NOTIMPLEMENTED(); |
| 322 callback.Run(false); | 322 callback.Run(false); |
| 323 } | 323 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 gfx::NativeViewAccessible accessible_parent) { | 355 gfx::NativeViewAccessible accessible_parent) { |
| 356 } | 356 } |
| 357 | 357 |
| 358 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 358 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
| 359 const { | 359 const { |
| 360 return NULL; | 360 return NULL; |
| 361 } | 361 } |
| 362 #endif // defined(OS_WIN) && defined(USE_AURA) | 362 #endif // defined(OS_WIN) && defined(USE_AURA) |
| 363 | 363 |
| 364 } // namespace content | 364 } // namespace content |
| OLD | NEW |