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

Unified Diff: chrome/browser/ui/omnibox/omnibox_view.cc

Issue 111873004: [OriginChip] Show and select the URL on alt-d/ctrl-l. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All files this time. Created 7 years 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/omnibox/omnibox_view.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_view.cc b/chrome/browser/ui/omnibox/omnibox_view.cc
index 0387b1e25e76808df41cf808c5f1ccc11045bcd0..fc9105cca942ceb4f70c61dfe63d8b7631ac569c 100644
--- a/chrome/browser/ui/omnibox/omnibox_view.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view.cc
@@ -162,6 +162,7 @@ void OmniboxView::TextChanged() {
}
void OmniboxView::ShowURL() {
+ SetFocus();
controller_->GetToolbarModel()->set_url_replacement_enabled(false);
model_->UpdatePermanentText();
RevertWithoutResettingSearchTermReplacement();

Powered by Google App Engine
This is Rietveld 408576698