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

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

Issue 3011007: Nukes the nano tab style on gtk and brings back the toolbar for apps (Closed)
Patch Set: Created 10 years, 5 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
OLDNEW
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void ShowPageMenu(); 117 virtual void ShowPageMenu();
118 virtual void ShowAppMenu(); 118 virtual void ShowAppMenu();
119 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 119 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
120 bool* is_keyboard_shortcut); 120 bool* is_keyboard_shortcut);
121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 121 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
122 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 122 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents);
123 virtual void Cut(); 123 virtual void Cut();
124 virtual void Copy(); 124 virtual void Copy();
125 virtual void Paste(); 125 virtual void Paste();
126 virtual void ToggleTabStripMode() {} 126 virtual void ToggleTabStripMode() {}
127 virtual void SetToolbarCollapsedMode(bool val); 127 virtual void SetToolbarCollapsedMode(bool val) {}
128 128
129 // Overridden from NotificationObserver: 129 // Overridden from NotificationObserver:
130 virtual void Observe(NotificationType type, 130 virtual void Observe(NotificationType type,
131 const NotificationSource& source, 131 const NotificationSource& source,
132 const NotificationDetails& details); 132 const NotificationDetails& details);
133 133
134 // Overridden from TabStripModelObserver: 134 // Overridden from TabStripModelObserver:
135 virtual void TabDetachedAt(TabContents* contents, int index); 135 virtual void TabDetachedAt(TabContents* contents, int index);
136 virtual void TabSelectedAt(TabContents* old_contents, 136 virtual void TabSelectedAt(TabContents* old_contents,
137 TabContents* new_contents, 137 TabContents* new_contents,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 431
432 // The accelerator group used to handle accelerators, owned by this object. 432 // The accelerator group used to handle accelerators, owned by this object.
433 GtkAccelGroup* accel_group_; 433 GtkAccelGroup* accel_group_;
434 434
435 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 435 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
436 436
437 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 437 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
438 }; 438 };
439 439
440 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 440 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698