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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm

Issue 12315069: Mac: Update zoom bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 7 years, 9 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.h"
6
7 namespace chrome {
8 namespace testing {
9
10 MockToolbarModel::MockToolbarModel()
11 : ToolbarModel(),
12 input_in_progress_(false),
13 would_replace_search_url_with_search_terms_(false) {
14 }
15
16 MockToolbarModel::~MockToolbarModel() {
17 }
18
19 string16 MockToolbarModel::GetText(
20 bool display_search_urls_as_search_terms) const {
21 return string16();
22 }
23
24 GURL MockToolbarModel::GetURL() const {
25 return GURL();
26 }
27
28 bool MockToolbarModel::WouldReplaceSearchURLWithSearchTerms() const {
29 return would_replace_search_url_with_search_terms_;
30 }
31
32 MockToolbarModel::SecurityLevel MockToolbarModel::GetSecurityLevel() const {
33 return NONE;
34 }
35
36 int MockToolbarModel::GetIcon() const {
37 return 0;
38 }
39
40 string16 MockToolbarModel::GetEVCertName() const {
41 return string16();
42 }
43
44 bool MockToolbarModel::ShouldDisplayURL() const {
45 return false;
46 }
47
48 void MockToolbarModel::SetInputInProgress(bool value) {
49 input_in_progress_ = value;
50 }
51
52 bool MockToolbarModel::GetInputInProgress() const {
53 return input_in_progress_;
54 }
55
56 } // namespace testing
57 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.h ('k') | chrome/browser/ui/cocoa/location_bar/zoom_decoration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698