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

Side by Side Diff: chrome/browser/ui/tabs/test_tab_strip_model_delegate.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_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 bool maximize) OVERRIDE; 26 bool maximize) OVERRIDE;
27 virtual int GetDragActions() const OVERRIDE; 27 virtual int GetDragActions() const OVERRIDE;
28 virtual TabContents* CreateTabContentsForURL( 28 virtual TabContents* CreateTabContentsForURL(
29 const GURL& url, 29 const GURL& url,
30 const content::Referrer& referrer, 30 const content::Referrer& referrer,
31 Profile* profile, 31 Profile* profile,
32 content::PageTransition transition, 32 content::PageTransition transition,
33 bool defer_load, 33 bool defer_load,
34 content::SiteInstance* instance) const OVERRIDE; 34 content::SiteInstance* instance) const OVERRIDE;
35 virtual bool CanDuplicateContentsAt(int index) OVERRIDE; 35 virtual bool CanDuplicateContentsAt(int index) OVERRIDE;
36 virtual void DuplicateContentsAt(int index) OVERRIDE; 36 virtual TabContents* DuplicateContentsAt(int index) OVERRIDE;
37 virtual void CloseFrameAfterDragSession() OVERRIDE; 37 virtual void CloseFrameAfterDragSession() OVERRIDE;
38 virtual void CreateHistoricalTab(TabContents* contents) OVERRIDE; 38 virtual void CreateHistoricalTab(TabContents* contents) OVERRIDE;
39 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents) OVERRIDE; 39 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents) OVERRIDE;
40 virtual bool CanRestoreTab() OVERRIDE; 40 virtual bool CanRestoreTab() OVERRIDE;
41 virtual void RestoreTab() OVERRIDE; 41 virtual void RestoreTab() OVERRIDE;
42 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE; 42 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE;
43 virtual bool CanBookmarkAllTabs() const OVERRIDE; 43 virtual bool CanBookmarkAllTabs() const OVERRIDE;
44 virtual void BookmarkAllTabs() OVERRIDE; 44 virtual void BookmarkAllTabs() OVERRIDE;
45 virtual bool CanCloseTab() const OVERRIDE; 45 virtual bool CanCloseTab() const OVERRIDE;
46 virtual bool LargeIconsPermitted() const OVERRIDE; 46 virtual bool LargeIconsPermitted() const OVERRIDE;
47 47
48 private: 48 private:
49 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate); 49 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ 52 #endif // CHROME_BROWSER_UI_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698