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

Unified Diff: source/common/uprops.h

Issue 1864463002: Add Emoji properties (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 4 years, 8 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/common/unicode/uchar.h ('k') | source/common/uprops.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/uprops.h
diff --git a/source/common/uprops.h b/source/common/uprops.h
index 56ffb857e5f6231c6e47b77a83ddaf1140524a6d..b9b787fdab1eabe5d147b0a4e019442b701622ae 100644
--- a/source/common/uprops.h
+++ b/source/common/uprops.h
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
-* Copyright (C) 2002-2012, International Business Machines
+* Copyright (C) 2002-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -187,13 +187,21 @@ enum {
/*
* Properties in vector word 2
* Bits
- * 31..26 reserved
+ * 31..28 http://www.unicode.org/reports/tr51/#Emoji_Properties
+ * 27..26 reserved
* 25..20 Line Break
* 19..15 Sentence Break
* 14..10 Word Break
* 9.. 5 Grapheme Cluster Break
* 4.. 0 Decomposition Type
*/
+enum {
+ UPROPS_2_EMOJI=28,
+ UPROPS_2_EMOJI_PRESENTATION,
+ UPROPS_2_EMOJI_MODIFIER,
+ UPROPS_2_EMOJI_MODIFIER_BASE,
+};
+
#define UPROPS_LB_MASK 0x03f00000
#define UPROPS_LB_SHIFT 20
« no previous file with comments | « source/common/unicode/uchar.h ('k') | source/common/uprops.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698