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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 731423002: Remove OriginChip code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index affbd0901f45d9ccdeada6d878eb088d43675eae..635ae15b974811de92b3e646020f9169c9d3c759 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1003,10 +1003,8 @@ void BrowserView::SetFocusToLocationBar(bool select_all) {
// Location bar got focus.
//
// select_all is true when it's expected that the user may want to copy
- // the URL to the clipboard. If the URL is not being shown because the
- // origin chip is enabled, show it now to support the same functionality.
- if (select_all &&
- location_bar->GetToolbarModel()->WouldOmitURLDueToOriginChip())
+ // the URL to the clipboard.
+ if (select_all)
Justin Donnelly 2014/11/21 19:15:24 If we get rid of the search button then these few
groby-ooo-7-16 2014/12/02 18:40:10 We can get rid of them even without the search but
location_bar->ShowURL();
else
location_bar->FocusLocation(select_all);

Powered by Google App Engine
This is Rietveld 408576698