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> |
11 #include <gtk/gtk.h> | 11 #include <gtk/gtk.h> |
12 | 12 |
13 #include <algorithm> | 13 #include <algorithm> |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/debug/trace_event.h" | 18 #include "base/debug/trace_event.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/message_loop.h" | 20 #include "base/message_loop.h" |
21 #include "base/metrics/histogram.h" | 21 #include "base/metrics/histogram.h" |
22 #include "base/string_number_conversions.h" | 22 #include "base/string_number_conversions.h" |
23 #include "base/strings/utf_offset_string_conversions.h" | 23 #include "base/strings/utf_offset_string_conversions.h" |
| 24 #include "base/strings/utf_string_conversions.h" |
24 #include "base/time.h" | 25 #include "base/time.h" |
25 #include "base/utf_string_conversions.h" | |
26 #include "content/browser/accessibility/browser_accessibility_gtk.h" | 26 #include "content/browser/accessibility/browser_accessibility_gtk.h" |
27 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h" | 27 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h" |
28 #include "content/browser/renderer_host/backing_store_gtk.h" | 28 #include "content/browser/renderer_host/backing_store_gtk.h" |
29 #include "content/browser/renderer_host/gtk_im_context_wrapper.h" | 29 #include "content/browser/renderer_host/gtk_im_context_wrapper.h" |
30 #include "content/browser/renderer_host/gtk_key_bindings_handler.h" | 30 #include "content/browser/renderer_host/gtk_key_bindings_handler.h" |
31 #include "content/browser/renderer_host/gtk_window_utils.h" | 31 #include "content/browser/renderer_host/gtk_window_utils.h" |
32 #include "content/browser/renderer_host/render_view_host_delegate.h" | 32 #include "content/browser/renderer_host/render_view_host_delegate.h" |
33 #include "content/browser/renderer_host/render_view_host_impl.h" | 33 #include "content/browser/renderer_host/render_view_host_impl.h" |
34 #include "content/common/gpu/gpu_messages.h" | 34 #include "content/common/gpu/gpu_messages.h" |
35 #include "content/common/input_messages.h" | 35 #include "content/common/input_messages.h" |
(...skipping 1538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 gfx::PluginWindowHandle id) { | 1574 gfx::PluginWindowHandle id) { |
1575 plugin_container_manager_.CreatePluginContainer(id); | 1575 plugin_container_manager_.CreatePluginContainer(id); |
1576 } | 1576 } |
1577 | 1577 |
1578 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( | 1578 void RenderWidgetHostViewGtk::OnDestroyPluginContainer( |
1579 gfx::PluginWindowHandle id) { | 1579 gfx::PluginWindowHandle id) { |
1580 plugin_container_manager_.DestroyPluginContainer(id); | 1580 plugin_container_manager_.DestroyPluginContainer(id); |
1581 } | 1581 } |
1582 | 1582 |
1583 } // namespace content | 1583 } // namespace content |
OLD | NEW |