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

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

Issue 2422663002: Define WebTextInputMode as a enum in the public API. (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
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 31881ae62999c1a74112af278d2747ab81c228a6..b942b05c70b8e2f30f83404f091b214604db03d3 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -141,8 +141,7 @@ class CORE_EXPORT InputMethodController final
int selectionStart,
int selectionEnd);
int textInputFlags() const;
- // TODO(dtapuska): Change this from a String to a WebTextInputMode.
- String inputModeOfFocusedElement() const;
+ WebTextInputMode inputModeOfFocusedElement() const;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/CoreInitializer.cpp ('k') | third_party/WebKit/Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698