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

Side by Side Diff: chrome/browser/ui/panels/panel.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_PANELS_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const NavigationEntry::SSLStatus& ssl, 103 const NavigationEntry::SSLStatus& ssl,
104 bool show_history); 104 bool show_history);
105 virtual void ShowAppMenu(); 105 virtual void ShowAppMenu();
106 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 106 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
107 bool* is_keyboard_shortcut); 107 bool* is_keyboard_shortcut);
108 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 108 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
109 virtual void ShowCreateWebAppShortcutsDialog( 109 virtual void ShowCreateWebAppShortcutsDialog(
110 TabContentsWrapper* tab_contents); 110 TabContentsWrapper* tab_contents);
111 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 111 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
112 const Extension* app); 112 const Extension* app);
113 virtual void ToggleUseCompactNavigationBar();
113 virtual void Cut(); 114 virtual void Cut();
114 virtual void Copy(); 115 virtual void Copy();
115 virtual void Paste(); 116 virtual void Paste();
116 virtual void ToggleTabStripMode(); 117 virtual void ToggleTabStripMode();
117 #if defined(OS_MACOSX) 118 #if defined(OS_MACOSX)
118 virtual void OpenTabpose(); 119 virtual void OpenTabpose();
119 #endif 120 #endif
120 virtual void PrepareForInstant(); 121 virtual void PrepareForInstant();
121 virtual void ShowInstant(TabContentsWrapper* preview); 122 virtual void ShowInstant(TabContentsWrapper* preview);
122 virtual void HideInstant(bool instant_is_active); 123 virtual void HideInstant(bool instant_is_active);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // The bounds when the panel is minimized. 161 // The bounds when the panel is minimized.
161 gfx::Rect minimized_bounds_; 162 gfx::Rect minimized_bounds_;
162 163
163 // Is the panel minimized? 164 // Is the panel minimized?
164 bool minimized_; 165 bool minimized_;
165 166
166 DISALLOW_COPY_AND_ASSIGN(Panel); 167 DISALLOW_COPY_AND_ASSIGN(Panel);
167 }; 168 };
168 169
169 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698