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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool show_history); | 116 bool show_history); |
117 virtual void ShowAppMenu(); | 117 virtual void ShowAppMenu(); |
118 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 118 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
119 bool* is_keyboard_shortcut); | 119 bool* is_keyboard_shortcut); |
120 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 120 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
121 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); | 121 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); |
122 virtual void Cut(); | 122 virtual void Cut(); |
123 virtual void Copy(); | 123 virtual void Copy(); |
124 virtual void Paste(); | 124 virtual void Paste(); |
125 virtual void ToggleTabStripMode() {} | 125 virtual void ToggleTabStripMode() {} |
126 virtual void SetToolbarCollapsedMode(bool val) {} | |
127 | 126 |
128 // Overridden from NotificationObserver: | 127 // Overridden from NotificationObserver: |
129 virtual void Observe(NotificationType type, | 128 virtual void Observe(NotificationType type, |
130 const NotificationSource& source, | 129 const NotificationSource& source, |
131 const NotificationDetails& details); | 130 const NotificationDetails& details); |
132 | 131 |
133 // Overridden from TabStripModelObserver: | 132 // Overridden from TabStripModelObserver: |
134 virtual void TabDetachedAt(TabContents* contents, int index); | 133 virtual void TabDetachedAt(TabContents* contents, int index); |
135 virtual void TabSelectedAt(TabContents* old_contents, | 134 virtual void TabSelectedAt(TabContents* old_contents, |
136 TabContents* new_contents, | 135 TabContents* new_contents, |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 | 429 |
431 // The accelerator group used to handle accelerators, owned by this object. | 430 // The accelerator group used to handle accelerators, owned by this object. |
432 GtkAccelGroup* accel_group_; | 431 GtkAccelGroup* accel_group_; |
433 | 432 |
434 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 433 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
435 | 434 |
436 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 435 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
437 }; | 436 }; |
438 | 437 |
439 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 438 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |