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

Unified Diff: Source/core/dom/Element.cpp

Issue 408883003: Remove shouldUseInputMethod (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: V2 Created 6 years, 5 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: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 02cc1eeb642396e3c642d3dca102972a857b3fdf..70f1a88567582de6d941846775d5ecf723889b12 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -220,6 +220,11 @@ short Element::tabIndex() const
return hasRareData() ? elementRareData()->tabIndex() : 0;
}
+bool Element::shouldUseInputMethod()
+{
+ return isContentEditable(UserSelectAllIsAlwaysNonEditable);
+}
+
bool Element::rendererIsFocusable() const
{
// Elements in canvas fallback content are not rendered, but they are allowed to be

Powered by Google App Engine
This is Rietveld 408576698