| 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::AddBlankTabAt(int index, bool foreground) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 void TestTabStripModelDelegate::AddURLTabAt(const GURL& url, |
| 20 int index, |
| 21 bool foreground) { |
| 22 } |
| 23 |
| 19 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( | 24 Browser* TestTabStripModelDelegate::CreateNewStripWithContents( |
| 20 const std::vector<NewStripContents>& contentses, | 25 const std::vector<NewStripContents>& contentses, |
| 21 const gfx::Rect& window_bounds, | 26 const gfx::Rect& window_bounds, |
| 22 const DockInfo& dock_info, | 27 const DockInfo& dock_info, |
| 23 bool maximize) { | 28 bool maximize) { |
| 24 return NULL; | 29 return NULL; |
| 25 } | 30 } |
| 26 | 31 |
| 27 void TestTabStripModelDelegate::WillAddWebContents( | 32 void TestTabStripModelDelegate::WillAddWebContents( |
| 28 content::WebContents* contents) { | 33 content::WebContents* contents) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |