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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 12463042: Shows chrome-extension urls and greys out the whole url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not hacky anymore Created 7 years, 9 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/views/omnibox/omnibox_view_win.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
index f54177938a87f4a43847fbd96399f84dd810043d..110eed658c23f9fbfee0bf68b28d91cdb457d660 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -2482,7 +2482,7 @@ void OmniboxViewWin::EmphasizeURLComponents() {
SelectAll(false);
SetSelectionCharFormat(cf);
- if (emphasize) {
+ if (emphasize && !toolbar_model()->ShouldNotEmphasizeHost()) {
// We've found a host name, give it more emphasis.
Devlin 2013/03/27 15:59:52 Update comment to mention that it's a host to whic
Patrick Riordan 2013/03/27 19:43:28 Done.
cf.crTextColor = skia::SkColorToCOLORREF(parent_view_->GetColor(
security_level_, LocationBarView::TEXT));

Powered by Google App Engine
This is Rietveld 408576698