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

Unified Diff: components/omnibox/browser/omnibox_edit_unittest.cc

Issue 2641003002: Show scheme in black and content in gray for data: protocol urls (Closed)
Patch Set: Address Nits 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: components/omnibox/browser/omnibox_edit_unittest.cc
diff --git a/components/omnibox/browser/omnibox_edit_unittest.cc b/components/omnibox/browser/omnibox_edit_unittest.cc
index bd8d90b7424b9193a6f1614e0bdde2517404dc52..a04b15eb26319c76f204a26a69826a7ccea3d131 100644
--- a/components/omnibox/browser/omnibox_edit_unittest.cc
+++ b/components/omnibox/browser/omnibox_edit_unittest.cc
@@ -85,6 +85,8 @@ class TestingOmniboxView : public OmniboxView {
bool IsImeComposing() const override { return false; }
int GetOmniboxTextLength() const override { return 0; }
void EmphasizeURLComponents() override {}
+ void SetEmphasis(bool emphasize, const gfx::Range& range) override {}
+ void UpdateSchemeStyle(const gfx::Range& range) override {}
const base::string16& inline_autocomplete_text() const {
return inline_autocomplete_text_;

Powered by Google App Engine
This is Rietveld 408576698