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

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

Issue 1347893002: Add WebElement::isEditable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « Source/core/dom/Node.h ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 1a14679ed6db74c334cbea4e649086733500dc87..173b9e66cecd5e74e520b3cb5be8aa2449890ba4 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -519,13 +519,13 @@ void Node::normalize()
}
}
-bool Node::isContentEditable(UserSelectAllTreatment treatment)
+bool Node::isContentEditable(UserSelectAllTreatment treatment) const
{
document().updateLayoutTreeIfNeeded();
return hasEditableStyle(Editable, treatment);
}
-bool Node::isContentRichlyEditable()
+bool Node::isContentRichlyEditable() const
{
document().updateLayoutTreeIfNeeded();
return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEditable);
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698