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

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

Issue 2819070: Mac: Add tabpose window (Closed)
Patch Set: mac compile?! Created 10 years, 4 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_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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) = 0; 303 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) = 0;
304 304
305 // Clipboard commands applied to the whole browser window. 305 // Clipboard commands applied to the whole browser window.
306 virtual void Cut() = 0; 306 virtual void Cut() = 0;
307 virtual void Copy() = 0; 307 virtual void Copy() = 0;
308 virtual void Paste() = 0; 308 virtual void Paste() = 0;
309 309
310 // Switches between available tabstrip display modes. 310 // Switches between available tabstrip display modes.
311 virtual void ToggleTabStripMode() = 0; 311 virtual void ToggleTabStripMode() = 0;
312 312
313 #if defined(OS_MACOSX)
314 // Opens the tabpose view.
315 virtual void OpenTabpose() = 0;
316 #endif
317
313 // Construct a BrowserWindow implementation for the specified |browser|. 318 // Construct a BrowserWindow implementation for the specified |browser|.
314 static BrowserWindow* CreateBrowserWindow(Browser* browser); 319 static BrowserWindow* CreateBrowserWindow(Browser* browser);
315 320
316 // Construct a FindBar implementation for the specified |browser|. 321 // Construct a FindBar implementation for the specified |browser|.
317 static FindBar* CreateFindBar(Browser* browser_window); 322 static FindBar* CreateFindBar(Browser* browser_window);
318 323
319 protected: 324 protected:
320 friend class BrowserList; 325 friend class BrowserList;
321 friend class BrowserView; 326 friend class BrowserView;
322 virtual void DestroyBrowser() = 0; 327 virtual void DestroyBrowser() = 0;
(...skipping 26 matching lines...) Expand all
349 354
350 // Returns the ToolbarView. 355 // Returns the ToolbarView.
351 virtual ToolbarView* GetToolbarView() const = 0; 356 virtual ToolbarView* GetToolbarView() const = 0;
352 #endif 357 #endif
353 358
354 protected: 359 protected:
355 virtual ~BrowserWindowTesting() {} 360 virtual ~BrowserWindowTesting() {}
356 }; 361 };
357 362
358 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 363 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698