| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 PanelController* panel_controller_; | 323 PanelController* panel_controller_; |
| 324 #endif | 324 #endif |
| 325 | 325 |
| 326 // A map which translates an X Window ID into its respective GtkWindow. | 326 // A map which translates an X Window ID into its respective GtkWindow. |
| 327 static std::map<XID, GtkWindow*> xid_map_; | 327 static std::map<XID, GtkWindow*> xid_map_; |
| 328 | 328 |
| 329 // The current window cursor. We set it to a resize cursor when over the | 329 // The current window cursor. We set it to a resize cursor when over the |
| 330 // custom frame border. We set it to NULL if we want the default cursor. | 330 // custom frame border. We set it to NULL if we want the default cursor. |
| 331 GdkCursor* frame_cursor_; | 331 GdkCursor* frame_cursor_; |
| 332 | 332 |
| 333 GtkAccelGroup* accel_group_; |
| 334 |
| 333 // True if the window manager thinks the window is active. Not all window | 335 // True if the window manager thinks the window is active. Not all window |
| 334 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case | 336 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case |
| 335 // this will always be true. | 337 // this will always be true. |
| 336 bool is_active_; | 338 bool is_active_; |
| 337 | 339 |
| 338 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 340 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 339 }; | 341 }; |
| 340 | 342 |
| 341 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 343 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |