| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 bool show_history); | 113 bool show_history); |
| 114 virtual void ShowPageMenu(); | 114 virtual void ShowPageMenu(); |
| 115 virtual void ShowAppMenu(); | 115 virtual void ShowAppMenu(); |
| 116 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 116 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 117 bool* is_keyboard_shortcut); | 117 bool* is_keyboard_shortcut); |
| 118 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 118 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 119 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); | 119 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); |
| 120 virtual void Cut(); | 120 virtual void Cut(); |
| 121 virtual void Copy(); | 121 virtual void Copy(); |
| 122 virtual void Paste(); | 122 virtual void Paste(); |
| 123 virtual void ToggleTabStripMode(); | |
| 124 | 123 |
| 125 // Overridden from NotificationObserver: | 124 // Overridden from NotificationObserver: |
| 126 virtual void Observe(NotificationType type, | 125 virtual void Observe(NotificationType type, |
| 127 const NotificationSource& source, | 126 const NotificationSource& source, |
| 128 const NotificationDetails& details); | 127 const NotificationDetails& details); |
| 129 | 128 |
| 130 // Overridden from TabStripModelObserver: | 129 // Overridden from TabStripModelObserver: |
| 131 virtual void TabDetachedAt(TabContents* contents, int index); | 130 virtual void TabDetachedAt(TabContents* contents, int index); |
| 132 virtual void TabSelectedAt(TabContents* old_contents, | 131 virtual void TabSelectedAt(TabContents* old_contents, |
| 133 TabContents* new_contents, | 132 TabContents* new_contents, |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 398 |
| 400 // The accelerator group used to handle accelerators, owned by this object. | 399 // The accelerator group used to handle accelerators, owned by this object. |
| 401 GtkAccelGroup* accel_group_; | 400 GtkAccelGroup* accel_group_; |
| 402 | 401 |
| 403 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 402 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 404 | 403 |
| 405 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 404 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 406 }; | 405 }; |
| 407 | 406 |
| 408 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 407 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |