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

Unified Diff: chrome/browser/ui/views/location_bar/origin_chip_view.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: Rebase. Created 6 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/location_bar/origin_chip_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/origin_chip_view.cc
diff --git a/chrome/browser/ui/views/location_bar/origin_chip_view.cc b/chrome/browser/ui/views/location_bar/origin_chip_view.cc
index 8ab5a12cbb0aef9beaa91da01f53909a2c85fd4f..772d0c0dd1c5fcd8585a929fb173744a53c21da4 100644
--- a/chrome/browser/ui/views/location_bar/origin_chip_view.cc
+++ b/chrome/browser/ui/views/location_bar/origin_chip_view.cc
@@ -169,12 +169,6 @@ OriginChipView::~OriginChipView() {
sb_service->ui_manager()->RemoveObserver(this);
}
-bool OriginChipView::ShouldShow() {
- return chrome::ShouldDisplayOriginChipV2() &&
- location_bar_view_->GetToolbarModel()->WouldOmitURLDueToOriginChip() &&
- location_bar_view_->GetToolbarModel()->origin_chip_enabled();
-}
-
void OriginChipView::Update(content::WebContents* web_contents) {
if (!web_contents)
return;
« no previous file with comments | « chrome/browser/ui/views/location_bar/origin_chip_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698