Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.h

Issue 214002: Resize the render widget host even if the widget is hidden. (Closed)
Patch Set: set size Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698