| OLD | NEW |
| 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_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ | 6 #define CHROME_BROWSER_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 13 matching lines...) Expand all Loading... |
| 24 const gfx::Rect& window_bounds, | 24 const gfx::Rect& window_bounds, |
| 25 const DockInfo& dock_info, | 25 const DockInfo& dock_info, |
| 26 bool maximize) OVERRIDE; | 26 bool maximize) OVERRIDE; |
| 27 virtual int GetDragActions() const OVERRIDE; | 27 virtual int GetDragActions() const OVERRIDE; |
| 28 virtual TabContentsWrapper* CreateTabContentsForURL( | 28 virtual TabContentsWrapper* 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 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 void DuplicateContentsAt(int index) OVERRIDE; |
| 37 virtual void CloseFrameAfterDragSession() OVERRIDE; | 37 virtual void CloseFrameAfterDragSession() OVERRIDE; |
| 38 virtual void CreateHistoricalTab(TabContentsWrapper* contents) OVERRIDE; | 38 virtual void CreateHistoricalTab(TabContentsWrapper* contents) OVERRIDE; |
| 39 virtual bool RunUnloadListenerBeforeClosing( | 39 virtual bool RunUnloadListenerBeforeClosing( |
| 40 TabContentsWrapper* contents) OVERRIDE; | 40 TabContentsWrapper* contents) OVERRIDE; |
| 41 virtual bool CanRestoreTab() OVERRIDE; | 41 virtual bool CanRestoreTab() OVERRIDE; |
| 42 virtual void RestoreTab() OVERRIDE; | 42 virtual void RestoreTab() OVERRIDE; |
| 43 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE; | 43 virtual bool CanCloseContents(std::vector<int>* indices) OVERRIDE; |
| 44 virtual bool CanBookmarkAllTabs() const OVERRIDE; | 44 virtual bool CanBookmarkAllTabs() const OVERRIDE; |
| 45 virtual void BookmarkAllTabs() OVERRIDE; | 45 virtual void BookmarkAllTabs() OVERRIDE; |
| 46 virtual bool CanCloseTab() const OVERRIDE; | 46 virtual bool CanCloseTab() const OVERRIDE; |
| 47 virtual bool LargeIconsPermitted() const OVERRIDE; | 47 virtual bool LargeIconsPermitted() const OVERRIDE; |
| 48 | 48 |
| 49 private: | 49 private: |
| 50 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelDelegate); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ | 53 #endif // CHROME_BROWSER_TABS_TEST_TAB_STRIP_MODEL_DELEGATE_H_ |
| OLD | NEW |