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

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

Issue 74133003: linux-aura: Restore middle-click on new-tab button behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-nit Created 7 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/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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/test_tab_strip_model_delegate.h ('k') | chrome/browser/ui/views/tabs/browser_tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698