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

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

Issue 10117016: Implementation for switching between recently used tabs using ctrl tilde or quoteleft. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added tab mru list manager class. Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 void CloseWindow(); 559 void CloseWindow();
560 void NewTab(); 560 void NewTab();
561 void CloseTab(); 561 void CloseTab();
562 void SelectNextTab(); 562 void SelectNextTab();
563 void SelectPreviousTab(); 563 void SelectPreviousTab();
564 void OpenTabpose(); 564 void OpenTabpose();
565 void MoveTabNext(); 565 void MoveTabNext();
566 void MoveTabPrevious(); 566 void MoveTabPrevious();
567 void SelectNumberedTab(int index); 567 void SelectNumberedTab(int index);
568 void SelectLastTab(); 568 void SelectLastTab();
569 void SelectNextMRUTab();
569 void DuplicateTab(); 570 void DuplicateTab();
570 void WriteCurrentURLToClipboard(); 571 void WriteCurrentURLToClipboard();
571 void ConvertPopupToTabbedBrowser(); 572 void ConvertPopupToTabbedBrowser();
572 // In kiosk mode, the first toggle is valid, the rest is discarded. 573 // In kiosk mode, the first toggle is valid, the rest is discarded.
573 void ToggleFullscreenMode(); 574 void ToggleFullscreenMode();
574 // See the description of 575 // See the description of
575 // FullscreenController::ToggleFullscreenModeWithExtension. 576 // FullscreenController::ToggleFullscreenModeWithExtension.
576 void ToggleFullscreenModeWithExtension(const GURL& extension_url); 577 void ToggleFullscreenModeWithExtension(const GURL& extension_url);
577 #if defined(OS_MACOSX) 578 #if defined(OS_MACOSX)
578 void TogglePresentationMode(); 579 void TogglePresentationMode();
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1512 bool window_has_shown_; 1513 bool window_has_shown_;
1513 1514
1514 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1515 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1515 // before DidEndColorChooser is called. 1516 // before DidEndColorChooser is called.
1516 scoped_ptr<content::ColorChooser> color_chooser_; 1517 scoped_ptr<content::ColorChooser> color_chooser_;
1517 1518
1518 DISALLOW_COPY_AND_ASSIGN(Browser); 1519 DISALLOW_COPY_AND_ASSIGN(Browser);
1519 }; 1520 };
1520 1521
1521 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1522 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698