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

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

Issue 2417643002: Move text input mode/info/type into InputMethodController (Closed)
Patch Set: Rebase 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 2c3e1b1146afe7c071c63f83fb7598c66a205f37..313ae933e977e2d7710417c41799c9123fe3b1b2 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 {
@@ -94,6 +96,8 @@ class CORE_EXPORT InputMethodController final
PlainTextRange createRangeForSelection(int start,
int end,
size_t textLength) const;
+ WebTextInputInfo textInputInfo() const;
+ WebTextInputType textInputType() const;
private:
Member<LocalFrame> m_frame;
@@ -135,6 +139,9 @@ class CORE_EXPORT InputMethodController final
const Vector<CompositionUnderline>&,
int selectionStart,
int selectionEnd);
+ int textInputFlags() const;
+ // TODO(dtapuska): Change this from a WebString to a WebTextInputMode.
+ WebString inputModeOfFocusedElement() const;
esprehn 2016/10/14 16:49:35 No WebString inside core, just use String.
dtapuska 2016/10/14 17:21:28 Done.
};
} // 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