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/tabs/test_tab_strip_model_delegate.h" | 5 #include "chrome/browser/tabs/test_tab_strip_model_delegate.h" |
6 | 6 |
7 #include "chrome/browser/ui/browser.h" | 7 #include "chrome/browser/ui/browser.h" |
8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
9 #include "chrome/browser/ui/tabs/dock_info.h" | 9 #include "chrome/browser/ui/tabs/dock_info.h" |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
11 | 11 |
| 12 using content::SiteInstance; |
| 13 |
12 TestTabStripModelDelegate::TestTabStripModelDelegate() { | 14 TestTabStripModelDelegate::TestTabStripModelDelegate() { |
13 } | 15 } |
14 | 16 |
15 TestTabStripModelDelegate::~TestTabStripModelDelegate() { | 17 TestTabStripModelDelegate::~TestTabStripModelDelegate() { |
16 } | 18 } |
17 | 19 |
18 TabContentsWrapper* TestTabStripModelDelegate::AddBlankTab(bool foreground) { | 20 TabContentsWrapper* TestTabStripModelDelegate::AddBlankTab(bool foreground) { |
19 return NULL; | 21 return NULL; |
20 } | 22 } |
21 | 23 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void TestTabStripModelDelegate::BookmarkAllTabs() { | 85 void TestTabStripModelDelegate::BookmarkAllTabs() { |
84 } | 86 } |
85 | 87 |
86 bool TestTabStripModelDelegate::CanCloseTab() const { | 88 bool TestTabStripModelDelegate::CanCloseTab() const { |
87 return true; | 89 return true; |
88 } | 90 } |
89 | 91 |
90 bool TestTabStripModelDelegate::LargeIconsPermitted() const { | 92 bool TestTabStripModelDelegate::LargeIconsPermitted() const { |
91 return true; | 93 return true; |
92 } | 94 } |
OLD | NEW |