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

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

Issue 10697017: Tabs Extension: Implementation of tabs.duplicate api. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 5 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) 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 // Construct a TabContents for a given URL, profile and transition type. If 765 // Construct a TabContents for a given URL, profile and transition type. If
766 // instance is not null, its process will be used to render the tab. 766 // instance is not null, its process will be used to render the tab.
767 virtual TabContents* CreateTabContentsForURL( 767 virtual TabContents* CreateTabContentsForURL(
768 const GURL& url, 768 const GURL& url,
769 const content::Referrer& referrer, 769 const content::Referrer& referrer,
770 Profile* profile, 770 Profile* profile,
771 content::PageTransition transition, 771 content::PageTransition transition,
772 bool defer_load, 772 bool defer_load,
773 content::SiteInstance* instance) const OVERRIDE; 773 content::SiteInstance* instance) const OVERRIDE;
774 virtual bool CanDuplicateContentsAt(int index) OVERRIDE; 774 virtual bool CanDuplicateContentsAt(int index) OVERRIDE;
775 virtual void DuplicateContentsAt(int index) OVERRIDE; 775 virtual TabContents* DuplicateContentsAt(int index) OVERRIDE;
776 virtual void CloseFrameAfterDragSession() OVERRIDE; 776 virtual void CloseFrameAfterDragSession() OVERRIDE;
777 virtual void CreateHistoricalTab(TabContents* contents) OVERRIDE; 777 virtual void CreateHistoricalTab(TabContents* contents) OVERRIDE;
778 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents) OVERRIDE; 778 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents) OVERRIDE;
779 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE; 779 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE;
780 virtual bool CanBookmarkAllTabs() const OVERRIDE; 780 virtual bool CanBookmarkAllTabs() const OVERRIDE;
781 virtual void BookmarkAllTabs() OVERRIDE; 781 virtual void BookmarkAllTabs() OVERRIDE;
782 virtual bool CanCloseTab() const OVERRIDE; 782 virtual bool CanCloseTab() const OVERRIDE;
783 virtual bool CanRestoreTab() OVERRIDE; 783 virtual bool CanRestoreTab() OVERRIDE;
784 virtual void RestoreTab() OVERRIDE; 784 virtual void RestoreTab() OVERRIDE;
785 virtual bool LargeIconsPermitted() const OVERRIDE; 785 virtual bool LargeIconsPermitted() const OVERRIDE;
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 bool window_has_shown_; 1461 bool window_has_shown_;
1462 1462
1463 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1463 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1464 // before DidEndColorChooser is called. 1464 // before DidEndColorChooser is called.
1465 scoped_ptr<content::ColorChooser> color_chooser_; 1465 scoped_ptr<content::ColorChooser> color_chooser_;
1466 1466
1467 DISALLOW_COPY_AND_ASSIGN(Browser); 1467 DISALLOW_COPY_AND_ASSIGN(Browser);
1468 }; 1468 };
1469 1469
1470 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1470 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698