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

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: only emit replacement char with InputMethodController 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..b1ad179c9972a75ac689e6d018b03b5dede299ac 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,
huangs 2014/05/24 17:18:40 Extra comma.
guohui 2014/05/26 13:55:01 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
« 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