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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.h

Issue 2179273003: Implement spec-compliant HTMLElement.prototype.isContentEditable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move isEditingHost and isEditable to HTMLElement.cpp Created 4 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: third_party/WebKit/Source/core/html/HTMLElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.h b/third_party/WebKit/Source/core/html/HTMLElement.h
index 1b9af5d1f96e16521fd739dbe3cb71e2ba8ec814..cf53623c198c0d2dae207d12550da15fa9ff4aaa 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLElement.h
@@ -56,7 +56,10 @@ public:
String contentEditable() const;
void setContentEditable(const String&, ExceptionState&);
- bool isContentEditable() const;
+ // For HTMLElement.prototype.isContentEditable. This matches to neither
+ // blink::isContentEditable() nor blink::isContentRichlyEditable(). Do not
+ // use this function in Blink.
+ bool isContentEditableForBinding() const;
virtual bool draggable() const;
void setDraggable(bool);

Powered by Google App Engine
This is Rietveld 408576698