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

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

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months 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/tabs/test_tab_strip_model_delegate.h" 5 #include "chrome/browser/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_wrapper.h" 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.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 24 matching lines...) Expand all
35 int TestTabStripModelDelegate::GetDragActions() const { 35 int TestTabStripModelDelegate::GetDragActions() const {
36 return 0; 36 return 0;
37 } 37 }
38 38
39 TabContentsWrapper* TestTabStripModelDelegate::CreateTabContentsForURL( 39 TabContentsWrapper* TestTabStripModelDelegate::CreateTabContentsForURL(
40 const GURL& url, 40 const GURL& url,
41 const content::Referrer& referrer, 41 const content::Referrer& referrer,
42 Profile* profile, 42 Profile* profile,
43 content::PageTransition transition, 43 content::PageTransition transition,
44 bool defer_load, 44 bool defer_load,
45 SiteInstance* instance) const { 45 content::SiteInstance* instance) const {
46 return NULL; 46 return NULL;
47 } 47 }
48 48
49 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { 49 bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) {
50 return false; 50 return false;
51 } 51 }
52 52
53 void TestTabStripModelDelegate::DuplicateContentsAt(int index) { 53 void TestTabStripModelDelegate::DuplicateContentsAt(int index) {
54 } 54 }
55 55
(...skipping 27 matching lines...) Expand all
83 void TestTabStripModelDelegate::BookmarkAllTabs() { 83 void TestTabStripModelDelegate::BookmarkAllTabs() {
84 } 84 }
85 85
86 bool TestTabStripModelDelegate::CanCloseTab() const { 86 bool TestTabStripModelDelegate::CanCloseTab() const {
87 return true; 87 return true;
88 } 88 }
89 89
90 bool TestTabStripModelDelegate::LargeIconsPermitted() const { 90 bool TestTabStripModelDelegate::LargeIconsPermitted() const {
91 return true; 91 return true;
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698