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

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: add unit test 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
Index: Source/core/editing/TextIterator.h
diff --git a/Source/core/editing/TextIterator.h b/Source/core/editing/TextIterator.h
index b6be1fa052cc0aebaef12b39dd84f93b75b12e9d..4e298261da7b4e5c43f47d03e746660c9c17cf43 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,
+ TextIteratorEmitsReplacementChar = 1 << 7
Yuta Kitamura 2014/05/28 07:36:07 EmitsReplacementChar -> EmitsObjectReplacementChar
guohui 2014/05/28 13:19:12 Done.
};
typedef unsigned TextIteratorBehaviorFlags;
@@ -207,6 +208,8 @@ private:
bool m_emitsImageAltText;
bool m_entersAuthorShadowRoots;
+
+ bool m_emitsReplacementChar;
};
// Iterates through the DOM range, returning all the text, and 0-length boundaries

Powered by Google App Engine
This is Rietveld 408576698