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

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

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ShowCreateWebAppShortcutsDialog( 121 virtual void ShowCreateWebAppShortcutsDialog(
122 TabContentsWrapper* tab_contents); 122 TabContentsWrapper* tab_contents);
123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
124 const Extension* app); 124 const Extension* app);
125 virtual void Cut(); 125 virtual void Cut();
126 virtual void Copy(); 126 virtual void Copy();
127 virtual void Paste(); 127 virtual void Paste();
128 virtual void ToggleTabStripMode() {} 128 virtual void ToggleTabStripMode() {}
129 virtual void ToggleUseCompactNavigationBar() {}
sky 2011/05/03 18:38:32 Don't inline virtual methods.
SteveT 2011/05/06 18:48:43 Fixed, and for ToggleTabStripMode, too.
129 virtual void PrepareForInstant(); 130 virtual void PrepareForInstant();
130 virtual void ShowInstant(TabContentsWrapper* preview); 131 virtual void ShowInstant(TabContentsWrapper* preview);
131 virtual void HideInstant(bool instant_is_active); 132 virtual void HideInstant(bool instant_is_active);
132 virtual gfx::Rect GetInstantBounds(); 133 virtual gfx::Rect GetInstantBounds();
133 virtual WindowOpenDisposition GetDispositionForPopupBounds( 134 virtual WindowOpenDisposition GetDispositionForPopupBounds(
134 const gfx::Rect& bounds); 135 const gfx::Rect& bounds);
135 136
136 // Overridden from NotificationObserver: 137 // Overridden from NotificationObserver:
137 virtual void Observe(NotificationType type, 138 virtual void Observe(NotificationType type,
138 const NotificationSource& source, 139 const NotificationSource& source,
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 bool debounce_timer_disabled_; 518 bool debounce_timer_disabled_;
518 519
519 // The model that tracks the paint state of the arrow for the infobar 520 // The model that tracks the paint state of the arrow for the infobar
520 // directly below the toolbar. 521 // directly below the toolbar.
521 InfoBarArrowModel infobar_arrow_model_; 522 InfoBarArrowModel infobar_arrow_model_;
522 523
523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 524 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
524 }; 525 };
525 526
526 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 527 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698