Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc

Issue 11392004: Remove TabContents from AddBlankTabAt, kill AddBlankTab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698