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

Unified Diff: Source/wtf/text/TextCodec.h

Issue 19845004: Do not normalize into NFC the values of form fields (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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: Source/wtf/text/TextCodec.h
diff --git a/Source/wtf/text/TextCodec.h b/Source/wtf/text/TextCodec.h
index 0190757a7f6fe18489c832763aa842b7307e8eea..1145f4fe935d59decb056808c886df8ada5b17c4 100644
--- a/Source/wtf/text/TextCodec.h
+++ b/Source/wtf/text/TextCodec.h
@@ -39,6 +39,15 @@ namespace WTF {
class TextEncoding;
+// Which normalization algorithm to apply.
+enum NormalizationMode {
+ // No normalization is performed.
+ NoNormalization,
+
+ // Apply Unicode NFC normalization.
+ NFCNormalization
+};
+
// Specifies what will happen when a character is encountered that is
// not encodable in the character set.
enum UnencodableHandling {

Powered by Google App Engine
This is Rietveld 408576698