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

Unified Diff: Source/core/html/forms/TypeAhead.h

Issue 1309503004: Select elements should clear type-ahead session on blur. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/forms/TypeAhead.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TypeAhead.h
diff --git a/Source/core/html/forms/TypeAhead.h b/Source/core/html/forms/TypeAhead.h
index 77ec9971a4190f7d956acadb630fb8dcec1f52ff..fd71c960b0120ea6c6f4f98ff92827da0dea6659 100644
--- a/Source/core/html/forms/TypeAhead.h
+++ b/Source/core/html/forms/TypeAhead.h
@@ -60,6 +60,8 @@ public:
// Returns the index for the matching option.
int handleEvent(KeyboardEvent*, MatchModeFlags);
bool hasActiveSession(KeyboardEvent*);
+ void resetSession();
+
private:
TypeAheadDataSource* m_dataSource;
DOMTimeStamp m_lastTypeTime;
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/forms/TypeAhead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698