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

Unified Diff: Source/core/editing/PlainTextRange.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/InputMethodController.cpp ('k') | Source/core/editing/PlainTextRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/PlainTextRange.h
diff --git a/Source/core/editing/PlainTextRange.h b/Source/core/editing/PlainTextRange.h
index d3e2617a66612dadab714aefd13d5a02dc60bc19..ba583ce06dd410d4fda647bfea0687392e99229b 100644
--- a/Source/core/editing/PlainTextRange.h
+++ b/Source/core/editing/PlainTextRange.h
@@ -51,13 +51,14 @@ public:
PassRefPtrWillBeRawPtr<Range> createRange(const ContainerNode& scope) const;
PassRefPtrWillBeRawPtr<Range> createRangeForSelection(const ContainerNode& scope) const;
+ PassRefPtrWillBeRawPtr<Range> createRangeForInputMethod(const ContainerNode& scope) const;
static PlainTextRange create(const Node& scope, const Range&);
private:
PlainTextRange& operator=(const PlainTextRange&) WTF_DELETED_FUNCTION;
- enum GetRangeFor { ForGeneric, ForSelection };
+ enum GetRangeFor { ForGeneric, ForSelection, ForInputMethod };
PassRefPtrWillBeRawPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const;
const size_t m_start;
« no previous file with comments | « Source/core/editing/InputMethodController.cpp ('k') | Source/core/editing/PlainTextRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698