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

Unified Diff: chrome/browser/autocomplete/autocomplete_provider.h

Issue 23164011: Omnibox: Reduce Bolding Flicker in SearchProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: even fancier solution Created 7 years, 4 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/autocomplete/autocomplete_provider.h
diff --git a/chrome/browser/autocomplete/autocomplete_provider.h b/chrome/browser/autocomplete/autocomplete_provider.h
index 950670db246b1760511b0e2d309b4925212d82dc..bcb513e7c32840cc815b70545ca9da2e2c0de686 100644
--- a/chrome/browser/autocomplete/autocomplete_provider.h
+++ b/chrome/browser/autocomplete/autocomplete_provider.h
@@ -207,6 +207,9 @@ class AutocompleteProvider
// with the previous session.
virtual void ResetSession();
+ // Returns whether |input| begins "http:" or "view-source:http:".
+ static bool HasHTTPScheme(const string16& input);
+
// A convenience function to call net::FormatUrl() with the current set of
// "Accept Languages" when check_accept_lang is true. Otherwise, it's called
// with an empty list.
@@ -242,9 +245,6 @@ class AutocompleteProvider
virtual ~AutocompleteProvider();
- // Returns whether |input| begins "http:" or "view-source:http:".
- static bool HasHTTPScheme(const string16& input);
-
// Updates the starred state of each of the matches in matches_ from the
// profile's bookmark bar model.
void UpdateStarredStateOfMatches();

Powered by Google App Engine
This is Rietveld 408576698