| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // True if the window manager thinks the window is active. Not all window | 350 // True if the window manager thinks the window is active. Not all window |
| 351 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case | 351 // managers keep track of this state (_NET_ACTIVE_WINDOW), in which case |
| 352 // this will always be true. | 352 // this will always be true. |
| 353 bool is_active_; | 353 bool is_active_; |
| 354 | 354 |
| 355 // Keep track of the last click time and the last click position so we can | 355 // Keep track of the last click time and the last click position so we can |
| 356 // filter out extra GDK_BUTTON_PRESS events when a double click happens. | 356 // filter out extra GDK_BUTTON_PRESS events when a double click happens. |
| 357 guint32 last_click_time_; | 357 guint32 last_click_time_; |
| 358 gfx::Point last_click_position_; | 358 gfx::Point last_click_position_; |
| 359 | 359 |
| 360 // The accelerator group used to handle accelerators, owned by this object. |
| 361 GtkAccelGroup* accel_group_; |
| 362 |
| 360 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 363 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 361 }; | 364 }; |
| 362 | 365 |
| 363 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 366 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |