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

Unified Diff: Source/core/editing/TextIterator.h

Issue 297003003: Emit object replacement char to IME (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: yuta's comments addressed Created 6 years, 7 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/editing/PlainTextRange.cpp ('k') | Source/core/editing/TextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/TextIterator.h
diff --git a/Source/core/editing/TextIterator.h b/Source/core/editing/TextIterator.h
index b6be1fa052cc0aebaef12b39dd84f93b75b12e9d..2cd97ea7dcf2afd7a76b8377240985ab6a4dbbf8 100644
--- a/Source/core/editing/TextIterator.h
+++ b/Source/core/editing/TextIterator.h
@@ -45,7 +45,8 @@ enum TextIteratorBehavior {
TextIteratorEmitsOriginalText = 1 << 3,
TextIteratorStopsOnFormControls = 1 << 4,
TextIteratorEmitsImageAltText = 1 << 5,
- TextIteratorEntersAuthorShadowRoots = 1 << 6
+ TextIteratorEntersAuthorShadowRoots = 1 << 6,
+ TextIteratorEmitsObjectReplacementCharacter = 1 << 7
};
typedef unsigned TextIteratorBehaviorFlags;
@@ -207,6 +208,8 @@ private:
bool m_emitsImageAltText;
bool m_entersAuthorShadowRoots;
+
+ bool m_emitsObjectReplacementCharacter;
};
// Iterates through the DOM range, returning all the text, and 0-length boundaries
« no previous file with comments | « Source/core/editing/PlainTextRange.cpp ('k') | Source/core/editing/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698