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

Side by Side Diff: chrome/browser/ui/toolbar/test_toolbar_model.cc

Issue 105613002: Remove unused parameter to ToolbarModel::GetText. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments. Created 7 years 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/toolbar/test_toolbar_model.h" 5 #include "chrome/browser/ui/toolbar/test_toolbar_model.h"
6 6
7 #include "grit/theme_resources.h" 7 #include "grit/theme_resources.h"
8 8
9 TestToolbarModel::TestToolbarModel() 9 TestToolbarModel::TestToolbarModel()
10 : ToolbarModel(), 10 : ToolbarModel(),
11 should_replace_url_(false), 11 should_replace_url_(false),
12 security_level_(NONE), 12 security_level_(NONE),
13 icon_(IDR_LOCATION_BAR_HTTP), 13 icon_(IDR_LOCATION_BAR_HTTP),
14 should_display_url_(true) {} 14 should_display_url_(true) {}
15 15
16 TestToolbarModel::~TestToolbarModel() {} 16 TestToolbarModel::~TestToolbarModel() {}
17 17
18 string16 TestToolbarModel::GetText(bool allow_search_term_replacement) const { 18 string16 TestToolbarModel::GetText() const {
19 return text_; 19 return text_;
20 } 20 }
21 21
22 string16 TestToolbarModel::GetCorpusNameForMobile() const { 22 string16 TestToolbarModel::GetCorpusNameForMobile() const {
23 return string16(); 23 return string16();
24 } 24 }
25 25
26 GURL TestToolbarModel::GetURL() const { 26 GURL TestToolbarModel::GetURL() const {
27 return url_; 27 return url_;
28 } 28 }
(...skipping 12 matching lines...) Expand all
41 return icon_; 41 return icon_;
42 } 42 }
43 43
44 string16 TestToolbarModel::GetEVCertName() const { 44 string16 TestToolbarModel::GetEVCertName() const {
45 return ev_cert_name_; 45 return ev_cert_name_;
46 } 46 }
47 47
48 bool TestToolbarModel::ShouldDisplayURL() const { 48 bool TestToolbarModel::ShouldDisplayURL() const {
49 return should_display_url_; 49 return should_display_url_;
50 } 50 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/test_toolbar_model.h ('k') | chrome/browser/ui/toolbar/toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698