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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm b/chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm
new file mode 100644
index 0000000000000000000000000000000000000000..f0d5ceda30263b828c05f6720e4e57d62742e63b
--- /dev/null
+++ b/chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.mm
@@ -0,0 +1,51 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/cocoa/location_bar/mock_toolbar_model.h"
+
+MockToolbarModel::MockToolbarModel()
+ : ToolbarModel(),
+ input_in_progress_(false),
+ would_replace_search_url_with_search_terms_(false) {
+}
+
+MockToolbarModel::~MockToolbarModel() {
+}
+
+string16 MockToolbarModel::GetText(
+ bool display_search_urls_as_search_terms) const {
+ return string16();
+}
+
+GURL MockToolbarModel::GetURL() const {
+ return GURL();
+}
+
+bool MockToolbarModel::WouldReplaceSearchURLWithSearchTerms() const {
+ return would_replace_search_url_with_search_terms_;
+}
+
+MockToolbarModel::SecurityLevel MockToolbarModel::GetSecurityLevel() const {
+ return NONE;
+}
+
+int MockToolbarModel::GetIcon() const {
+ return 0;
+}
+
+string16 MockToolbarModel::GetEVCertName() const {
+ return string16();
+}
+
+bool MockToolbarModel::ShouldDisplayURL() const {
+ return false;
+}
+
+void MockToolbarModel::SetInputInProgress(bool value) {
+ input_in_progress_ = value;
+}
+
+bool MockToolbarModel::GetInputInProgress() const {
+ return input_in_progress_;
+}

Powered by Google App Engine
This is Rietveld 408576698