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 42d8464dd506b7d15f68ee76b53db3c22123cd7f..acbda81fd242871f72b1342b07a6c93de2d0d55a 100644 |
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| @@ -72,8 +72,13 @@ CORE_EXPORT bool needsLayoutTreeUpdate(const Position&); |
| // Node |
| // ------------------------------------------------------------------------- |
| -// Functions returning Node |
| - |
| +CORE_EXPORT bool isContentEditable(const Node&); |
|
tkent
2016/07/27 06:26:41
Can you clarify differences between
- isContentEd
|
| +CORE_EXPORT bool isContentRichlyEditable(const Node&); |
| +CORE_EXPORT bool hasEditableStyle(const Node&, EditableType = ContentIsEditable); |
| +CORE_EXPORT bool layoutObjectIsRichlyEditable(const Node&, EditableType = ContentIsEditable); |
| +CORE_EXPORT bool isRootEditableElement(const Node&); |
| +CORE_EXPORT Element* rootEditableElement(const Node&); |
| +CORE_EXPORT Element* rootEditableElement(const Node&, EditableType); |
| // highestEditableRoot returns the highest editable node. If the |
| // rootEditableElement of the speicified Position is <body>, this returns the |
| // <body>. Otherwise, this searches ancestors for the highest editable node in |