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

Side by Side Diff: content/shell/shell.h

Issue 14496004: Gtk content shell: make the window shrinkable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase master Created 7 years, 7 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 | content/shell/shell_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) 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 #ifndef CONTENT_SHELL_SHELL_H_ 4 #ifndef CONTENT_SHELL_SHELL_H_
5 #define CONTENT_SHELL_SHELL_H_ 5 #define CONTENT_SHELL_SHELL_H_
6 6
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 GtkToolItem* back_button_; 236 GtkToolItem* back_button_;
237 GtkToolItem* forward_button_; 237 GtkToolItem* forward_button_;
238 GtkToolItem* reload_button_; 238 GtkToolItem* reload_button_;
239 GtkToolItem* stop_button_; 239 GtkToolItem* stop_button_;
240 240
241 GtkWidget* spinner_; 241 GtkWidget* spinner_;
242 GtkToolItem* spinner_item_; 242 GtkToolItem* spinner_item_;
243 243
244 int content_width_; 244 int content_width_;
245 int content_height_; 245 int content_height_;
246 int ui_elms_height_; // height of menubar, toolbar, etc.
jochen (gone - plz use gerrit) 2013/05/21 08:08:07 nit. please spell out "elms"
246 #elif defined(OS_ANDROID) 247 #elif defined(OS_ANDROID)
247 base::android::ScopedJavaGlobalRef<jobject> java_object_; 248 base::android::ScopedJavaGlobalRef<jobject> java_object_;
248 #elif defined(USE_AURA) 249 #elif defined(USE_AURA)
249 #if defined(OS_CHROMEOS) 250 #if defined(OS_CHROMEOS)
250 static content::MinimalAsh* minimal_ash_; 251 static content::MinimalAsh* minimal_ash_;
251 #endif 252 #endif
252 static views::ViewsDelegate* views_delegate_; 253 static views::ViewsDelegate* views_delegate_;
253 254
254 views::Widget* window_widget_; 255 views::Widget* window_widget_;
255 #endif 256 #endif
256 257
257 bool headless_; 258 bool headless_;
258 259
259 // A container of all the open windows. We use a vector so we can keep track 260 // A container of all the open windows. We use a vector so we can keep track
260 // of ordering. 261 // of ordering.
261 static std::vector<Shell*> windows_; 262 static std::vector<Shell*> windows_;
262 263
263 static base::Callback<void(Shell*)> shell_created_callback_; 264 static base::Callback<void(Shell*)> shell_created_callback_;
264 265
265 // True if the destructur of Shell should post a quit closure on the current 266 // True if the destructur of Shell should post a quit closure on the current
266 // message loop if the destructed Shell object was the last one. 267 // message loop if the destructed Shell object was the last one.
267 static bool quit_message_loop_; 268 static bool quit_message_loop_;
268 }; 269 };
269 270
270 } // namespace content 271 } // namespace content
271 272
272 #endif // CONTENT_SHELL_SHELL_H_ 273 #endif // CONTENT_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/shell_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698