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

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

Issue 7754008: Omnibox enters keyword search mode incorrectly (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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_edit.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index ff92b70950ab6af7526279238c07b2804e1a0aac..51a88bab541783f601999512e3ffbbd172db2469 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -338,6 +338,10 @@ class AutocompleteEditModel : public AutocompleteControllerDelegate {
}
#endif
+ // Checks if a given character is a valid space character for accepting
+ // keyword.
+ static bool IsSpaceCharForAcceptingKeyword(wchar_t c);
+
private:
enum PasteState {
NONE, // Most recent edit was not a paste.
@@ -432,10 +436,6 @@ class AutocompleteEditModel : public AutocompleteControllerDelegate {
// Starts a DNS prefetch for the given |match|.
void DoPreconnect(const AutocompleteMatch& match);
- // Checks if a given character is a valid space character for accepting
- // keyword.
- static bool IsSpaceCharForAcceptingKeyword(wchar_t c);
-
scoped_ptr<AutocompleteController> autocomplete_controller_;
OmniboxView* view_;

Powered by Google App Engine
This is Rietveld 408576698