| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| 7 | 7 |
| 8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <vector> | 11 #include <vector> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/gfx/native_widget_types.h" | 14 #include "app/gfx/native_widget_types.h" |
| 15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| 17 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 17 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
| 18 #include "chrome/common/owned_widget_gtk.h" | 18 #include "chrome/common/owned_widget_gtk.h" |
| 19 #include "webkit/glue/plugins/gtk_plugin_container_manager.h" | 19 #include "webkit/glue/plugins/gtk_plugin_container_manager.h" |
| 20 #include "webkit/glue/webcursor.h" | 20 #include "webkit/glue/webcursor.h" |
| 21 | 21 |
| 22 class RenderWidgetHost; | 22 class RenderWidgetHost; |
| 23 // A conveience wrapper class for GtkIMContext; | 23 // A conveience wrapper class for GtkIMContext; |
| 24 class GtkIMContextWrapper; | 24 class GtkIMContextWrapper; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 // Helper class that lets us allocate plugin containers and move them. | 143 // Helper class that lets us allocate plugin containers and move them. |
| 144 GtkPluginContainerManager plugin_container_manager_; | 144 GtkPluginContainerManager plugin_container_manager_; |
| 145 | 145 |
| 146 // The size that we want the renderer to be. We keep this in a separate | 146 // The size that we want the renderer to be. We keep this in a separate |
| 147 // variable because resizing in GTK+ is async. | 147 // variable because resizing in GTK+ is async. |
| 148 gfx::Size requested_size_; | 148 gfx::Size requested_size_; |
| 149 }; | 149 }; |
| 150 | 150 |
| 151 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 151 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |