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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 165853002: [OSX, OmniTheatre] URL hiding for Origin Chip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index 09a0e997f808346dc4142bc51e278066408a9758..5261fe7a1a23db057cd40db8aec72896a071a7a1 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -523,7 +523,6 @@ void LocationBarViewMac::Update(const WebContents* contents) {
RefreshContentSettingsDecorations();
UpdateMicSearchDecorationVisibility();
UpdateGeneratedCreditCardView();
- UpdateOriginChipDecoration();
if (contents)
omnibox_view_->OnTabChanged(contents);
else
@@ -553,6 +552,7 @@ void LocationBarViewMac::OnChanged() {
(resource_id == IDR_OMNIBOX_SEARCH) ?
IDR_OMNIBOX_SEARCH_BUTTON_LOUPE : IDR_OMNIBOX_SEARCH_BUTTON_ARROW);
+ UpdateOriginChipDecoration();
Layout();
InstantService* instant_service =

Powered by Google App Engine
This is Rietveld 408576698