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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // objects in this vector are owned by the TabContents, not the view. 132 // objects in this vector are owned by the TabContents, not the view.
133 std::vector<ConstrainedWindowGtk*> constrained_windows_; 133 std::vector<ConstrainedWindowGtk*> constrained_windows_;
134 134
135 // The helper object that handles drag destination related interactions with 135 // The helper object that handles drag destination related interactions with
136 // GTK. 136 // GTK.
137 scoped_ptr<WebDragDest> drag_dest_; 137 scoped_ptr<WebDragDest> drag_dest_;
138 138
139 // Object responsible for handling drags from the page for us. 139 // Object responsible for handling drags from the page for us.
140 scoped_ptr<TabContentsDragSource> drag_source_; 140 scoped_ptr<TabContentsDragSource> drag_source_;
141 141
142 // The size we want the tab contents view to be. We keep this in a separate
143 // variable because resizing in GTK+ is async.
144 gfx::Size requested_size_;
145
142 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 146 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
143 }; 147 };
144 148
145 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 149 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698