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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_model.cc

Issue 233623002: Shows the info bubble when the location bar icon is clicked in the origin chip. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addresses nits from groby@. Created 6 years, 8 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/toolbar/test_toolbar_model.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.cc b/chrome/browser/ui/toolbar/test_toolbar_model.cc
index f086bcb70c715698c806c0f566f58c0f738c86b7..2c6d6eb664d9b02fcb08178b296695c45025ceca 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.cc
@@ -12,7 +12,8 @@ TestToolbarModel::TestToolbarModel()
perform_search_term_replacement_(false),
security_level_(NONE),
icon_(IDR_LOCATION_BAR_HTTP),
- should_display_url_(true) {}
+ should_display_url_(true),
+ should_show_origin_chip_(false) {}
TestToolbarModel::~TestToolbarModel() {}
@@ -61,3 +62,7 @@ base::string16 TestToolbarModel::GetEVCertName() const {
bool TestToolbarModel::ShouldDisplayURL() const {
return should_display_url_;
}
+
+bool TestToolbarModel::ShouldShowOriginChip() const {
+ return should_show_origin_chip_;
+}

Powered by Google App Engine
This is Rietveld 408576698