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 26 matching lines...) Expand all Loading... |
37 return 0; | 37 return 0; |
38 } | 38 } |
39 | 39 |
40 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { | 40 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { |
41 return false; | 41 return false; |
42 } | 42 } |
43 | 43 |
44 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { | 44 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { |
45 } | 45 } |
46 | 46 |
47 void TestTabStripModelDelegate::CloseFrameAfterDragSession() { | |
48 } | |
49 | |
50 void TestTabStripModelDelegate::CreateHistoricalTab( | 47 void TestTabStripModelDelegate::CreateHistoricalTab( |
51 content::WebContents* contents) { | 48 content::WebContents* contents) { |
52 } | 49 } |
53 | 50 |
54 bool TestTabStripModelDelegate::ShouldRunUnloadListenerBeforeClosing( | 51 bool TestTabStripModelDelegate::ShouldRunUnloadListenerBeforeClosing( |
55 content::WebContents* contents) { | 52 content::WebContents* contents) { |
56 return false; | 53 return false; |
57 } | 54 } |
58 | 55 |
59 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( | 56 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( |
60 content::WebContents* contents) { | 57 content::WebContents* contents) { |
61 return true; | 58 return true; |
62 } | 59 } |
63 | 60 |
64 TabStripModelDelegate::RestoreTabType | 61 TabStripModelDelegate::RestoreTabType |
65 TestTabStripModelDelegate::GetRestoreTabType() { | 62 TestTabStripModelDelegate::GetRestoreTabType() { |
66 return TabStripModelDelegate::RESTORE_NONE; | 63 return TabStripModelDelegate::RESTORE_NONE; |
67 } | 64 } |
68 | 65 |
69 void TestTabStripModelDelegate::RestoreTab() { | 66 void TestTabStripModelDelegate::RestoreTab() { |
70 } | 67 } |
71 | 68 |
72 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { | 69 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { |
73 return true; | 70 return true; |
74 } | 71 } |
75 | 72 |
76 void TestTabStripModelDelegate::BookmarkAllTabs() { | 73 void TestTabStripModelDelegate::BookmarkAllTabs() { |
77 } | 74 } |
OLD | NEW |