Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/EditingUtilities.h |
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| index 558b274897baf02a12ca73ae04cbe3b9f0cf1ef3..dba406f48f9747aedcc78b2d393b9fb7dfb32053 100644 |
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| @@ -72,6 +72,16 @@ CORE_EXPORT bool needsLayoutTreeUpdate(const Position&); |
| // Node |
| // ------------------------------------------------------------------------- |
| +// Style-independent editability. These functions are useless in Blink editing |
| +// code. |
| + |
| +// https://w3c.github.io/editing/execCommand.html#editing-host |
| +bool isEditingHost(const Node&); |
|
yosin_UTC9
2016/07/27 01:34:36
Could you rename |isEditingHost()| or |isEditable(
|
| +// https://w3c.github.io/editing/execCommand.html#editable |
| +bool isEditable(const Node&); |
| + |
| +// Style-dependent editability |
| + |
| CORE_EXPORT bool isContentEditable(const Node&); |
| CORE_EXPORT bool isContentRichlyEditable(const Node&); |
| CORE_EXPORT bool hasEditableStyle(const Node&, EditableType = ContentIsEditable); |