| 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/ui/browser.h" | 7 #include "chrome/browser/ui/browser.h" |
| 8 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 8 #include "chrome/browser/ui/tab_contents/tab_contents.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; | 12 using content::SiteInstance; |
| 13 | 13 |
| 14 TestTabStripModelDelegate::TestTabStripModelDelegate() { | 14 TestTabStripModelDelegate::TestTabStripModelDelegate() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 TestTabStripModelDelegate::~TestTabStripModelDelegate() { | 17 TestTabStripModelDelegate::~TestTabStripModelDelegate() { |
| 18 } | 18 } |
| 19 | 19 |
| 20 TabContents* TestTabStripModelDelegate::AddBlankTab(bool foreground) { | 20 void TestTabStripModelDelegate::AddBlankTabAt(int index, bool foreground) { |
| 21 return NULL; | |
| 22 } | |
| 23 | |
| 24 TabContents* TestTabStripModelDelegate::AddBlankTabAt(int index, | |
| 25 bool foreground) { | |
| 26 return NULL; | |
| 27 } | 21 } |
| 28 | 22 |
| 29 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( | 23 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( |
| 30 const std::vector<NewStripContents>& contentses, | 24 const std::vector<NewStripContents>& contentses, |
| 31 const gfx::Rect& window_bounds, | 25 const gfx::Rect& window_bounds, |
| 32 const DockInfo& dock_info, | 26 const DockInfo& dock_info, |
| 33 bool maximize) { | 27 bool maximize) { |
| 34 return NULL; | 28 return NULL; |
| 35 } | 29 } |
| 36 | 30 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 66 |
| 73 void TestTabStripModelDelegate::RestoreTab() { | 67 void TestTabStripModelDelegate::RestoreTab() { |
| 74 } | 68 } |
| 75 | 69 |
| 76 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { | 70 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { |
| 77 return true; | 71 return true; |
| 78 } | 72 } |
| 79 | 73 |
| 80 void TestTabStripModelDelegate::BookmarkAllTabs() { | 74 void TestTabStripModelDelegate::BookmarkAllTabs() { |
| 81 } | 75 } |
| OLD | NEW |