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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodController.h

Issue 2417643002: Move text input mode/info/type into InputMethodController (Closed)
Patch Set: Fix nits Created 4 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 | « no previous file | third_party/WebKit/Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/InputMethodController.h
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.h b/third_party/WebKit/Source/core/editing/InputMethodController.h
index 527f9b3d176da24f79c3eec64cc7ececd55bcb24..31881ae62999c1a74112af278d2747ab81c228a6 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -33,6 +33,8 @@
#include "core/editing/FrameSelection.h"
#include "core/editing/PlainTextRange.h"
#include "platform/heap/Handle.h"
+#include "public/platform/WebTextInputInfo.h"
+#include "public/platform/WebTextInputType.h"
#include "wtf/Vector.h"
namespace blink {
@@ -95,6 +97,8 @@ class CORE_EXPORT InputMethodController final
int end,
size_t textLength) const;
void deleteSurroundingText(int before, int after);
+ WebTextInputInfo textInputInfo() const;
+ WebTextInputType textInputType() const;
private:
Member<LocalFrame> m_frame;
@@ -136,6 +140,9 @@ class CORE_EXPORT InputMethodController final
const Vector<CompositionUnderline>&,
int selectionStart,
int selectionEnd);
+ int textInputFlags() const;
+ // TODO(dtapuska): Change this from a String to a WebTextInputMode.
+ String inputModeOfFocusedElement() const;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698