Chromium Code Reviews| Index: Source/core/editing/Editor.h |
| diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h |
| index 053c3879df0890f10a76c38c05fac7a88a32081e..fd858b7dcc75ef358a27c0f87bc605ea434e4181 100644 |
| --- a/Source/core/editing/Editor.h |
| +++ b/Source/core/editing/Editor.h |
| @@ -214,7 +214,7 @@ public: |
| bool canRedo(); |
| void redo(); |
| - void didBeginEditing(); |
| + void didBeginEditing(Element*); |
| void didEndEditing(); |
| void setBaseWritingDirection(WritingDirection); |
| @@ -281,7 +281,7 @@ public: |
| bool markedTextMatchesAreHighlighted() const; |
| void setMarkedTextMatchesAreHighlighted(bool); |
| - void textFieldDidBeginEditing(Element*); |
| + void textAreaOrTextFieldDidBeginEditing(Element*); |
| void textFieldDidEndEditing(Element*); |
| void textDidChangeInTextField(Element*); |
| bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*); |
| @@ -309,6 +309,10 @@ public: |
| }; |
| friend class RevealSelectionScope; |
| + // Spell checks whole contents of a editable element (<input="text"/>, <textarea> or contenteditable) |
| + // This gets called when any editable element gets focused. |
|
tony
2013/08/22 18:44:34
I would remove this comment. We don't normally inc
|
| + void elementDidBeginEditing(Element*); |
| + |
| private: |
| RefPtr<CompositeEditCommand> m_lastEditCommand; |
| RefPtr<Node> m_removedAnchor; |