OLD | NEW |
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_GTK_BROWSER_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 387 |
388 #if defined(OS_CHROMEOS) | 388 #if defined(OS_CHROMEOS) |
389 // True if a drag is active. See description above setter for details. | 389 // True if a drag is active. See description above setter for details. |
390 bool drag_active_; | 390 bool drag_active_; |
391 // Controls interactions with the window manager for popup panels. | 391 // Controls interactions with the window manager for popup panels. |
392 PanelController* panel_controller_; | 392 PanelController* panel_controller_; |
393 | 393 |
394 CompactNavigationBar* compact_navigation_bar_; | 394 CompactNavigationBar* compact_navigation_bar_; |
395 StatusAreaView* status_area_; | 395 StatusAreaView* status_area_; |
396 | 396 |
| 397 // The MainMenu button. |
| 398 CustomDrawButton* main_menu_button_; |
| 399 |
| 400 // A hbox container for the compact navigation bar. |
| 401 GtkWidget* compact_navbar_hbox_; |
| 402 |
397 static bool next_window_should_use_compact_nav_; | 403 static bool next_window_should_use_compact_nav_; |
398 #endif | 404 #endif |
399 | 405 |
400 // A map which translates an X Window ID into its respective GtkWindow. | 406 // A map which translates an X Window ID into its respective GtkWindow. |
401 static std::map<XID, GtkWindow*> xid_map_; | 407 static std::map<XID, GtkWindow*> xid_map_; |
402 | 408 |
403 // The current window cursor. We set it to a resize cursor when over the | 409 // The current window cursor. We set it to a resize cursor when over the |
404 // custom frame border. We set it to NULL if we want the default cursor. | 410 // custom frame border. We set it to NULL if we want the default cursor. |
405 GdkCursor* frame_cursor_; | 411 GdkCursor* frame_cursor_; |
406 | 412 |
(...skipping 11 matching lines...) Expand all Loading... |
418 // first time. This is to work around a compiz bug. | 424 // first time. This is to work around a compiz bug. |
419 bool maximize_after_show_; | 425 bool maximize_after_show_; |
420 | 426 |
421 // The accelerator group used to handle accelerators, owned by this object. | 427 // The accelerator group used to handle accelerators, owned by this object. |
422 GtkAccelGroup* accel_group_; | 428 GtkAccelGroup* accel_group_; |
423 | 429 |
424 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 430 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
425 }; | 431 }; |
426 | 432 |
427 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 433 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |