Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected indentation. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698