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