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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 2641003002: Show scheme in black and content in gray for data: protocol urls (Closed)
Patch Set: Only call UpdateSchemeStyle when a scheme is present. Created 3 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/views/omnibox/omnibox_view_views.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index b5cdefd94aa8b82322e40b6527957d595cf428a3..c344e4a31099c53bdb6128999e3305d913d8ce33 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -153,6 +153,8 @@ class OmniboxViewViews
void OnMatchOpened(AutocompleteMatch::Type match_type) override;
int GetOmniboxTextLength() const override;
void EmphasizeURLComponents() override;
+ void SetEmphasis(bool emphasize, const gfx::Range& range) override;
+ void UpdateSchemeStyle(const gfx::Range& range) override;
// views::Textfield:
bool IsItemForCommandIdDynamic(int command_id) const override;

Powered by Google App Engine
This is Rietveld 408576698