| 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 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h" | 5 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/tab_helper.h" | 7 #include "chrome/browser/extensions/tab_helper.h" |
| 8 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 8 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 9 | 9 |
| 10 TestTabStripModelDelegate::TestTabStripModelDelegate() { | 10 TestTabStripModelDelegate::TestTabStripModelDelegate() { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { | 43 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { |
| 44 } | 44 } |
| 45 | 45 |
| 46 void TestTabStripModelDelegate::CloseFrameAfterDragSession() { | 46 void TestTabStripModelDelegate::CloseFrameAfterDragSession() { |
| 47 } | 47 } |
| 48 | 48 |
| 49 void TestTabStripModelDelegate::CreateHistoricalTab( | 49 void TestTabStripModelDelegate::CreateHistoricalTab( |
| 50 content::WebContents* contents) { | 50 content::WebContents* contents) { |
| 51 } | 51 } |
| 52 | 52 |
| 53 bool TestTabStripModelDelegate::CanFastShutdownWebContents( |
| 54 content::WebContents* contents) { |
| 55 return true; |
| 56 } |
| 57 |
| 53 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( | 58 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( |
| 54 content::WebContents* contents) { | 59 content::WebContents* contents) { |
| 55 return true; | 60 return true; |
| 56 } | 61 } |
| 57 | 62 |
| 58 TabStripModelDelegate::RestoreTabType | 63 TabStripModelDelegate::RestoreTabType |
| 59 TestTabStripModelDelegate::GetRestoreTabType() { | 64 TestTabStripModelDelegate::GetRestoreTabType() { |
| 60 return TabStripModelDelegate::RESTORE_NONE; | 65 return TabStripModelDelegate::RESTORE_NONE; |
| 61 } | 66 } |
| 62 | 67 |
| 63 void TestTabStripModelDelegate::RestoreTab() { | 68 void TestTabStripModelDelegate::RestoreTab() { |
| 64 } | 69 } |
| 65 | 70 |
| 66 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { | 71 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { |
| 67 return true; | 72 return true; |
| 68 } | 73 } |
| 69 | 74 |
| 70 void TestTabStripModelDelegate::BookmarkAllTabs() { | 75 void TestTabStripModelDelegate::BookmarkAllTabs() { |
| 71 } | 76 } |
| OLD | NEW |