| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 gfx::NativeWindow parent_window); | 114 gfx::NativeWindow parent_window); |
| 115 virtual void UserChangedTheme(); | 115 virtual void UserChangedTheme(); |
| 116 virtual int GetExtraRenderViewHeight() const; | 116 virtual int GetExtraRenderViewHeight() const; |
| 117 virtual void TabContentsFocused(TabContents* tab_contents); | 117 virtual void TabContentsFocused(TabContents* tab_contents); |
| 118 virtual void ShowPageInfo(Profile* profile, | 118 virtual void ShowPageInfo(Profile* profile, |
| 119 const GURL& url, | 119 const GURL& url, |
| 120 const NavigationEntry::SSLStatus& ssl, | 120 const NavigationEntry::SSLStatus& ssl, |
| 121 bool show_history); | 121 bool show_history); |
| 122 virtual void ShowPageMenu(); | 122 virtual void ShowPageMenu(); |
| 123 virtual void ShowAppMenu(); | 123 virtual void ShowAppMenu(); |
| 124 virtual int GetCommandId(const NativeWebKeyboardEvent& event); |
| 124 | 125 |
| 125 // Overridden from NotificationObserver: | 126 // Overridden from NotificationObserver: |
| 126 virtual void Observe(NotificationType type, | 127 virtual void Observe(NotificationType type, |
| 127 const NotificationSource& source, | 128 const NotificationSource& source, |
| 128 const NotificationDetails& details); | 129 const NotificationDetails& details); |
| 129 | 130 |
| 130 // Overridden from TabStripModelObserver: | 131 // Overridden from TabStripModelObserver: |
| 131 virtual void TabDetachedAt(TabContents* contents, int index); | 132 virtual void TabDetachedAt(TabContents* contents, int index); |
| 132 virtual void TabSelectedAt(TabContents* old_contents, | 133 virtual void TabSelectedAt(TabContents* old_contents, |
| 133 TabContents* new_contents, | 134 TabContents* new_contents, |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 // first time. This is to work around a compiz bug. | 416 // first time. This is to work around a compiz bug. |
| 416 bool maximize_after_show_; | 417 bool maximize_after_show_; |
| 417 | 418 |
| 418 // The accelerator group used to handle accelerators, owned by this object. | 419 // The accelerator group used to handle accelerators, owned by this object. |
| 419 GtkAccelGroup* accel_group_; | 420 GtkAccelGroup* accel_group_; |
| 420 | 421 |
| 421 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 422 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 422 }; | 423 }; |
| 423 | 424 |
| 424 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 425 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |