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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.h

Issue 164294: gtk: Disconnect the accelerator group keys when closing the browser window.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_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) 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698