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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h

Issue 1613153002: Add a SymbolsIterator to aid with Symbols Segmentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update emoji data file reference to version 2.0 Created 4 years, 11 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: third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h b/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h
new file mode 100644
index 0000000000000000000000000000000000000000..97176bba40536d8e885cba839117fee35ac45578
--- /dev/null
+++ b/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef FontFallbackPriority_h
+#define FontFallbackPriority_h
+
+namespace blink {
+
+enum class FontFallbackPriority {
+ // For regular non-symbols text,
+ // normal text fallback in FontFallbackIterator
+ Text,
+ // For non-emoji symbols
+ Symbols,
+ // For math & technical symbols
+ Math,
+ // For Emoji text presentation,
+ // compare http://unicode.org/Public/emoji/2.0/emoji-data.txt
+ EmojiText,
+ // For Emoji presentation
+ EmojiEmoji,
wkorman 2016/01/22 00:50:45 EmojiImage / EmojiIcon is more what I would expect
+ Invalid
+};
+
+bool isNonTextFallbackPriority(FontFallbackPriority);
+
+}; // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698