| 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" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 content::PageTransition transition, | 45 content::PageTransition transition, |
| 46 bool defer_load, | 46 bool defer_load, |
| 47 SiteInstance* instance) const { | 47 SiteInstance* instance) const { |
| 48 return NULL; | 48 return NULL; |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { | 51 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { |
| 52 return false; | 52 return false; |
| 53 } | 53 } |
| 54 | 54 |
| 55 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { | 55 TabContents* TestTabStripModelDelegate::DuplicateContentsAt(int index) { |
| 56 return NULL; |
| 56 } | 57 } |
| 57 | 58 |
| 58 void TestTabStripModelDelegate::CloseFrameAfterDragSession() { | 59 void TestTabStripModelDelegate::CloseFrameAfterDragSession() { |
| 59 } | 60 } |
| 60 | 61 |
| 61 void TestTabStripModelDelegate::CreateHistoricalTab(TabContents* contents) { | 62 void TestTabStripModelDelegate::CreateHistoricalTab(TabContents* contents) { |
| 62 } | 63 } |
| 63 | 64 |
| 64 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( | 65 bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing( |
| 65 TabContents* contents) { | 66 TabContents* contents) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 84 void TestTabStripModelDelegate::BookmarkAllTabs() { | 85 void TestTabStripModelDelegate::BookmarkAllTabs() { |
| 85 } | 86 } |
| 86 | 87 |
| 87 bool TestTabStripModelDelegate::CanCloseTab() const { | 88 bool TestTabStripModelDelegate::CanCloseTab() const { |
| 88 return true; | 89 return true; |
| 89 } | 90 } |
| 90 | 91 |
| 91 bool TestTabStripModelDelegate::LargeIconsPermitted() const { | 92 bool TestTabStripModelDelegate::LargeIconsPermitted() const { |
| 92 return true; | 93 return true; |
| 93 } | 94 } |
| OLD | NEW |