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 21 matching lines...) Expand all Loading... |
32 #include "content/browser/renderer_host/input/web_input_event_builders_gtk.h" | 32 #include "content/browser/renderer_host/input/web_input_event_builders_gtk.h" |
33 #include "content/browser/renderer_host/render_view_host_delegate.h" | 33 #include "content/browser/renderer_host/render_view_host_delegate.h" |
34 #include "content/browser/renderer_host/render_view_host_impl.h" | 34 #include "content/browser/renderer_host/render_view_host_impl.h" |
35 #include "content/common/gpu/gpu_messages.h" | 35 #include "content/common/gpu/gpu_messages.h" |
36 #include "content/common/input_messages.h" | 36 #include "content/common/input_messages.h" |
37 #include "content/common/view_messages.h" | 37 #include "content/common/view_messages.h" |
38 #include "content/common/webplugin_geometry.h" | 38 #include "content/common/webplugin_geometry.h" |
39 #include "content/public/browser/native_web_keyboard_event.h" | 39 #include "content/public/browser/native_web_keyboard_event.h" |
40 #include "content/public/common/content_switches.h" | 40 #include "content/public/common/content_switches.h" |
41 #include "skia/ext/platform_canvas.h" | 41 #include "skia/ext/platform_canvas.h" |
| 42 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
42 #include "third_party/WebKit/public/web/WebInputEvent.h" | 43 #include "third_party/WebKit/public/web/WebInputEvent.h" |
43 #include "third_party/WebKit/public/web/WebScreenInfo.h" | |
44 #include "ui/base/clipboard/scoped_clipboard_writer.h" | 44 #include "ui/base/clipboard/scoped_clipboard_writer.h" |
45 #include "ui/base/x/active_window_watcher_x.h" | 45 #include "ui/base/x/active_window_watcher_x.h" |
46 #include "ui/base/x/x11_util.h" | 46 #include "ui/base/x/x11_util.h" |
47 #include "ui/gfx/gtk_compat.h" | 47 #include "ui/gfx/gtk_compat.h" |
48 #include "ui/gfx/gtk_native_view_id_manager.h" | 48 #include "ui/gfx/gtk_native_view_id_manager.h" |
49 #include "ui/gfx/gtk_preserve_window.h" | 49 #include "ui/gfx/gtk_preserve_window.h" |
50 #include "ui/gfx/text_elider.h" | 50 #include "ui/gfx/text_elider.h" |
51 #include "webkit/common/cursors/webcursor_gtk_data.h" | 51 #include "webkit/common/cursors/webcursor_gtk_data.h" |
52 | 52 |
53 using blink::WebMouseWheelEvent; | 53 using blink::WebMouseWheelEvent; |
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1591 gfx::PluginWindowHandle id) { | 1591 gfx::PluginWindowHandle id) { |
1592 plugin_container_manager_.CreatePluginContainer(id); | 1592 plugin_container_manager_.CreatePluginContainer(id); |
1593 } | 1593 } |
1594 | 1594 |
1595 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( | 1595 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( |
1596 gfx::PluginWindowHandle id) { | 1596 gfx::PluginWindowHandle id) { |
1597 plugin_container_manager_.DestroyPluginContainer(id); | 1597 plugin_container_manager_.DestroyPluginContainer(id); |
1598 } | 1598 } |
1599 | 1599 |
1600 } // namespace content | 1600 } // namespace content |
OLD | NEW |