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

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

Issue 235039: Fix conflicts between accelerator keys and HTML DOM accesskeys.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 public NotificationObserver, 50 public NotificationObserver,
51 public TabStripModelObserver, 51 public TabStripModelObserver,
52 public ActiveWindowWatcherX::Observer { 52 public ActiveWindowWatcherX::Observer {
53 public: 53 public:
54 explicit BrowserWindowGtk(Browser* browser); 54 explicit BrowserWindowGtk(Browser* browser);
55 virtual ~BrowserWindowGtk(); 55 virtual ~BrowserWindowGtk();
56 56
57 Browser* browser() const { return browser_.get(); } 57 Browser* browser() const { return browser_.get(); }
58 58
59 // Process a keyboard event which was not handled by webkit. 59 // Process a keyboard event which was not handled by webkit.
60 void HandleKeyboardEvent(GdkEventKey* event); 60 bool HandleKeyboardEvent(GdkEventKey* event);
61 61
62 // Overridden from BrowserWindow 62 // Overridden from BrowserWindow
63 virtual void Show(); 63 virtual void Show();
64 virtual void SetBounds(const gfx::Rect& bounds); 64 virtual void SetBounds(const gfx::Rect& bounds);
65 virtual void Close(); 65 virtual void Close();
66 virtual void Activate(); 66 virtual void Activate();
67 virtual bool IsActive() const; 67 virtual bool IsActive() const;
68 virtual void FlashFrame(); 68 virtual void FlashFrame();
69 virtual gfx::NativeWindow GetNativeHandle(); 69 virtual gfx::NativeWindow GetNativeHandle();
70 virtual BrowserWindowTesting* GetBrowserWindowTesting(); 70 virtual BrowserWindowTesting* GetBrowserWindowTesting();
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // first time. This is to work around a compiz bug. 418 // first time. This is to work around a compiz bug.
419 bool maximize_after_show_; 419 bool maximize_after_show_;
420 420
421 // The accelerator group used to handle accelerators, owned by this object. 421 // The accelerator group used to handle accelerators, owned by this object.
422 GtkAccelGroup* accel_group_; 422 GtkAccelGroup* accel_group_;
423 423
424 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 424 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
425 }; 425 };
426 426
427 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 427 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698