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

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

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for test build issue. Created 6 years, 9 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( 359 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible(
360 gfx::NativeViewAccessible accessible_parent) { 360 gfx::NativeViewAccessible accessible_parent) {
361 } 361 }
362 362
363 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() 363 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin()
364 const { 364 const {
365 return NULL; 365 return NULL;
366 } 366 }
367 #endif // defined(OS_WIN) 367 #endif // defined(OS_WIN)
368 368
369 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() {
370 return SkBitmap::kARGB_8888_Config;
371 }
372
369 } // namespace content 373 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698