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

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

Issue 27030014: Remove Backslash-as-JPY hack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TextCodec/Encoding added Created 7 years, 2 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/dom/Document.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 b1abe72b4e515e5f47f044cc492c0216c9cd26a5..b8b1e358a4f850b00a9453edaab2bc851cca3317 100644
--- a/Source/core/editing/TextIterator.h
+++ b/Source/core/editing/TextIterator.h
@@ -40,12 +40,11 @@ enum TextIteratorBehavior {
TextIteratorDefaultBehavior = 0,
TextIteratorEmitsCharactersBetweenAllVisiblePositions = 1 << 0,
TextIteratorEntersTextControls = 1 << 1,
- TextIteratorEmitsTextsWithoutTranscoding = 1 << 2,
- TextIteratorIgnoresStyleVisibility = 1 << 3,
- TextIteratorEmitsObjectReplacementCharacters = 1 << 4,
- TextIteratorEmitsOriginalText = 1 << 5,
- TextIteratorStopsOnFormControls = 1 << 6,
- TextIteratorEmitsImageAltText = 1 << 7,
+ TextIteratorIgnoresStyleVisibility = 1 << 2,
+ TextIteratorEmitsObjectReplacementCharacters = 1 << 3,
+ TextIteratorEmitsOriginalText = 1 << 4,
+ TextIteratorStopsOnFormControls = 1 << 5,
+ TextIteratorEmitsImageAltText = 1 << 6,
};
// FIXME: Can't really answer this question correctly without knowing the white-space mode.
@@ -61,7 +60,7 @@ inline bool isCollapsibleWhitespace(UChar c)
}
}
-String plainText(const Range*, TextIteratorBehavior defaultBehavior = TextIteratorDefaultBehavior, bool isDisplayString = false);
+String plainText(const Range*, TextIteratorBehavior defaultBehavior = TextIteratorDefaultBehavior);
PassRefPtr<Range> findPlainText(const Range*, const String&, FindOptions);
class BitStack {
@@ -194,8 +193,6 @@ private:
bool m_emitsCharactersBetweenAllVisiblePositions;
bool m_entersTextControls;
- // Used when we want texts for copying, pasting, and transposing.
- bool m_emitsTextWithoutTranscoding;
// Used in pasting inside password field.
bool m_emitsOriginalText;
// Used when deciding text fragment created by :first-letter should be looked into.
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/editing/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698