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

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

Issue 137783022: Revert of Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) {
314 callback.Run(false, SkBitmap()); 313 callback.Run(false, SkBitmap());
315 } 314 }
316 315
317 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( 316 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame(
318 const gfx::Rect& src_subrect, 317 const gfx::Rect& src_subrect,
319 const scoped_refptr<media::VideoFrame>& target, 318 const scoped_refptr<media::VideoFrame>& target,
320 const base::Callback<void(bool)>& callback) { 319 const base::Callback<void(bool)>& callback) {
321 NOTIMPLEMENTED(); 320 NOTIMPLEMENTED();
322 callback.Run(false); 321 callback.Run(false);
323 } 322 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 gfx::NativeViewAccessible accessible_parent) { 354 gfx::NativeViewAccessible accessible_parent) {
356 } 355 }
357 356
358 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() 357 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin()
359 const { 358 const {
360 return NULL; 359 return NULL;
361 } 360 }
362 #endif // defined(OS_WIN) && defined(USE_AURA) 361 #endif // defined(OS_WIN) && defined(USE_AURA)
363 362
364 } // namespace content 363 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698