OLD | NEW |
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 Loading... |
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 |
OLD | NEW |