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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_gtk.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer_host/render_widget_host_view_gtk.h" 5 #include "content/browser/renderer_host/render_widget_host_view_gtk.h"
6 6
7 #include <cairo/cairo.h> 7 #include <cairo/cairo.h>
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 #include <gdk/gdkkeysyms.h> 9 #include <gdk/gdkkeysyms.h>
10 #include <gdk/gdkx.h> 10 #include <gdk/gdkx.h>
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1605 void RenderWidgetHostViewGtk::OnCreatePluginContainer( 1605 void RenderWidgetHostViewGtk::OnCreatePluginContainer(
1606 gfx::PluginWindowHandle id) { 1606 gfx::PluginWindowHandle id) {
1607 plugin_container_manager_.CreatePluginContainer(id); 1607 plugin_container_manager_.CreatePluginContainer(id);
1608 } 1608 }
1609 1609
1610 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( 1610 void RenderWidgetHostViewGtk::OnDestroyPluginContainer(
1611 gfx::PluginWindowHandle id) { 1611 gfx::PluginWindowHandle id) {
1612 plugin_container_manager_.DestroyPluginContainer(id); 1612 plugin_container_manager_.DestroyPluginContainer(id);
1613 } 1613 }
1614 1614
1615 SkBitmap::Config RenderWidgetHostViewGtk::PreferredReadbackFormat() {
1616 return SkBitmap::kARGB_8888_Config;
1617 }
1618
1615 } // namespace content 1619 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698