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

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

Issue 1141005: Revert r42156, r42157, r42160. Allow dynamic switching in and out of sidetabs... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('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) 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_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 "chrome/browser/tab_contents/navigation_entry.h" 8 #include "chrome/browser/tab_contents/navigation_entry.h"
9 #include "chrome/common/content_settings_types.h" 9 #include "chrome/common/content_settings_types.h"
10 #include "gfx/native_widget_types.h" 10 #include "gfx/native_widget_types.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 #if defined(OS_CHROMEOS) 303 #if defined(OS_CHROMEOS)
304 // Toggles compact navigation bar. 304 // Toggles compact navigation bar.
305 virtual void ToggleCompactNavigationBar() = 0; 305 virtual void ToggleCompactNavigationBar() = 0;
306 #endif 306 #endif
307 307
308 // Clipboard commands applied to the whole browser window. 308 // Clipboard commands applied to the whole browser window.
309 virtual void Cut() = 0; 309 virtual void Cut() = 0;
310 virtual void Copy() = 0; 310 virtual void Copy() = 0;
311 virtual void Paste() = 0; 311 virtual void Paste() = 0;
312 312
313 // Switches between available tabstrip display modes.
314 virtual void ToggleTabStripMode() = 0;
315
316 // Construct a BrowserWindow implementation for the specified |browser|. 313 // Construct a BrowserWindow implementation for the specified |browser|.
317 static BrowserWindow* CreateBrowserWindow(Browser* browser); 314 static BrowserWindow* CreateBrowserWindow(Browser* browser);
318 315
319 // Construct a FindBar implementation for the specified |browser|. 316 // Construct a FindBar implementation for the specified |browser|.
320 static FindBar* CreateFindBar(Browser* browser_window); 317 static FindBar* CreateFindBar(Browser* browser_window);
321 318
322 protected: 319 protected:
323 friend class BrowserList; 320 friend class BrowserList;
324 friend class BrowserView; 321 friend class BrowserView;
325 virtual void DestroyBrowser() = 0; 322 virtual void DestroyBrowser() = 0;
(...skipping 23 matching lines...) Expand all
349 346
350 // Returns the TabContentsContainer. 347 // Returns the TabContentsContainer.
351 virtual views::View* GetTabContentsContainerView() const = 0; 348 virtual views::View* GetTabContentsContainerView() const = 0;
352 349
353 // Returns the ToolbarView. 350 // Returns the ToolbarView.
354 virtual ToolbarView* GetToolbarView() const = 0; 351 virtual ToolbarView* GetToolbarView() const = 0;
355 #endif 352 #endif
356 }; 353 };
357 354
358 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 355 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698