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> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 // A convenience wrapper object for GtkIMContext; | 130 // A convenience wrapper object for GtkIMContext; |
131 scoped_ptr<GtkIMContextWrapper> im_context_; | 131 scoped_ptr<GtkIMContextWrapper> im_context_; |
132 | 132 |
133 // A convenience object for handling editor key bindings defined in gtk | 133 // A convenience object for handling editor key bindings defined in gtk |
134 // keyboard theme. | 134 // keyboard theme. |
135 scoped_ptr<GtkKeyBindingsHandler> key_bindings_handler_; | 135 scoped_ptr<GtkKeyBindingsHandler> key_bindings_handler_; |
136 | 136 |
137 // Helper class that lets us allocate plugin containers and move them. | 137 // Helper class that lets us allocate plugin containers and move them. |
138 GtkPluginContainerManager plugin_container_manager_; | 138 GtkPluginContainerManager plugin_container_manager_; |
| 139 |
| 140 // The size that we want the renderer to be. We keep this in a separate |
| 141 // variable because resizing in GTK+ is async. |
| 142 gfx::Size requested_size_; |
139 }; | 143 }; |
140 | 144 |
141 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 145 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |