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

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: 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: 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 2513fb822a60f7f46f857d0ecd86bb3d84ff09ca..1257307f7c012ac99c443bc5d1e30f6dc11f297e 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