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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: 'controller' may be nullptr. Created 4 years, 1 month 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/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index beaf2921ee9f69ecee1b52b110772f24376014f7..3c813dbb29d49aeda3173902eb10150b05f9a806 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -526,20 +526,6 @@ WebRange WebFrameWidgetImpl::compositionRange() {
return PlainTextRange::create(*editable, range);
}
-WebTextInputInfo WebFrameWidgetImpl::textInputInfo() {
- LocalFrame* focused = focusedLocalFrameInWidget();
- if (!focused)
- return WebTextInputInfo();
- return focused->inputMethodController().textInputInfo();
-}
-
-WebTextInputType WebFrameWidgetImpl::textInputType() {
- LocalFrame* focused = focusedLocalFrameInWidget();
- if (!focused)
- return WebTextInputTypeNone;
- return focused->inputMethodController().textInputType();
-}
-
WebColor WebFrameWidgetImpl::backgroundColor() const {
if (isTransparent())
return Color::transparent;

Powered by Google App Engine
This is Rietveld 408576698