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

Side by Side Diff: chrome/browser/browser_window.h

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 2 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/chromeos/chromeos_browser_extenders.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "app/gfx/native_widget_types.h" 8 #include "app/gfx/native_widget_types.h"
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 10
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Shows the page menu (for accessibility). 256 // Shows the page menu (for accessibility).
257 virtual void ShowPageMenu() = 0; 257 virtual void ShowPageMenu() = 0;
258 258
259 // Shows the app menu (for accessibility). 259 // Shows the app menu (for accessibility).
260 virtual void ShowAppMenu() = 0; 260 virtual void ShowAppMenu() = 0;
261 261
262 // Returns the id of the keyboard accelerator associated with the given 262 // Returns the id of the keyboard accelerator associated with the given
263 // keyboard event if one exists, otherwise -1. 263 // keyboard event if one exists, otherwise -1.
264 virtual int GetCommandId(const NativeWebKeyboardEvent& event) = 0; 264 virtual int GetCommandId(const NativeWebKeyboardEvent& event) = 0;
265 265
266 #if defined(TOOLKIT_VIEWS)
267 // Toggles compact navigation bar.
268 virtual void ToggleCompactNavigationBar() = 0;
269 #endif
270
266 // Construct a BrowserWindow implementation for the specified |browser|. 271 // Construct a BrowserWindow implementation for the specified |browser|.
267 static BrowserWindow* CreateBrowserWindow(Browser* browser); 272 static BrowserWindow* CreateBrowserWindow(Browser* browser);
268 273
269 // Construct a FindBar implementation for the specified |browser|. 274 // Construct a FindBar implementation for the specified |browser|.
270 static FindBar* CreateFindBar(Browser* browser_window); 275 static FindBar* CreateFindBar(Browser* browser_window);
271 276
272 protected: 277 protected:
273 friend class BrowserList; 278 friend class BrowserList;
274 friend class BrowserView; 279 friend class BrowserView;
275 virtual void DestroyBrowser() = 0; 280 virtual void DestroyBrowser() = 0;
(...skipping 21 matching lines...) Expand all
297 302
298 // Returns the TabContentsContainer. 303 // Returns the TabContentsContainer.
299 virtual views::View* GetTabContentsContainerView() const = 0; 304 virtual views::View* GetTabContentsContainerView() const = 0;
300 305
301 // Returns the ToolbarView. 306 // Returns the ToolbarView.
302 virtual ToolbarView* GetToolbarView() const = 0; 307 virtual ToolbarView* GetToolbarView() const = 0;
303 #endif 308 #endif
304 }; 309 };
305 310
306 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 311 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/chromeos/chromeos_browser_extenders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698