| 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() { |
| 11 } | 11 } |
| 12 | 12 |
| 13 TestTabStripModelDelegate::~TestTabStripModelDelegate() { | 13 TestTabStripModelDelegate::~TestTabStripModelDelegate() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 void TestTabStripModelDelegate::AddBlankTabAt(int index, bool foreground) { | 16 void TestTabStripModelDelegate::AddURLTabAt(const GURL& url, |
| 17 int index, |
| 18 bool foreground) { |
| 17 } | 19 } |
| 18 | 20 |
| 19 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( | 21 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( |
| 20 const std::vector<NewStripContents>& contentses, | 22 const std::vector<NewStripContents>& contentses, |
| 21 const gfx::Rect& window_bounds, | 23 const gfx::Rect& window_bounds, |
| 22 const DockInfo& dock_info, | 24 const DockInfo& dock_info, |
| 23 bool maximize) { | 25 bool maximize) { |
| 24 return NULL; | 26 return NULL; |
| 25 } | 27 } |
| 26 | 28 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 64 |
| 63 void TestTabStripModelDelegate::RestoreTab() { | 65 void TestTabStripModelDelegate::RestoreTab() { |
| 64 } | 66 } |
| 65 | 67 |
| 66 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { | 68 bool TestTabStripModelDelegate::CanBookmarkAllTabs() const { |
| 67 return true; | 69 return true; |
| 68 } | 70 } |
| 69 | 71 |
| 70 void TestTabStripModelDelegate::BookmarkAllTabs() { | 72 void TestTabStripModelDelegate::BookmarkAllTabs() { |
| 71 } | 73 } |
| OLD | NEW |