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

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

Issue 24246011: Move form-related 78 files to core/html/forms/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/core/html/forms/TypeAhead.h ('k') | Source/core/html/forms/URLInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TypeAhead.cpp
diff --git a/Source/core/html/TypeAhead.cpp b/Source/core/html/forms/TypeAhead.cpp
similarity index 98%
rename from Source/core/html/TypeAhead.cpp
rename to Source/core/html/forms/TypeAhead.cpp
index d93541faf9bc1267a976121fc3b9f70ded4f01a5..739f742b691934a9436a282055fb3242255984fd 100644
--- a/Source/core/html/TypeAhead.cpp
+++ b/Source/core/html/forms/TypeAhead.cpp
@@ -26,7 +26,7 @@
*/
#include "config.h"
-#include "core/html/TypeAhead.h"
+#include "core/html/forms/TypeAhead.h"
#include "core/dom/KeyboardEvent.h"
#include "wtf/unicode/CharacterNames.h"
@@ -87,8 +87,9 @@ int TypeAhead::handleEvent(KeyboardEvent* event, MatchModeFlags matchMode)
if (m_buffer.length() > 1) {
m_repeatingChar = 0;
searchStartOffset = 0;
- } else
+ } else {
m_repeatingChar = c;
+ }
}
if (!prefix.isEmpty()) {
« no previous file with comments | « Source/core/html/forms/TypeAhead.h ('k') | Source/core/html/forms/URLInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698