Chromium Code Reviews| Index: Source/core/editing/Editor.h |
| diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h |
| index 20bc84af6be54a09f85fa66b46bfcd2b668f00a1..4008c057e7b4c601d9184f38cec3514b46b3333b 100644 |
| --- a/Source/core/editing/Editor.h |
| +++ b/Source/core/editing/Editor.h |
| @@ -160,7 +160,7 @@ public: |
| bool executeCommand(const String&); |
| bool executeCommand(const String& commandName, const String& value); |
| - bool insertText(const String&, Event* triggeringEvent); |
| + bool insertText(const String&, KeyboardEvent* triggeringEvent); |
|
eseidel
2014/07/26 21:17:51
I guess paste doesn't use this code?
|
| bool insertTextWithoutSendingTextEvent(const String&, bool selectInsertedText, TextEvent* triggeringEvent); |
| bool insertLineBreak(); |
| bool insertParagraphSeparator(); |
| @@ -199,7 +199,7 @@ public: |
| void pasteAsFragment(PassRefPtrWillBeRawPtr<DocumentFragment>, bool smartReplace, bool matchStyle); |
| void pasteAsPlainText(const String&, bool smartReplace); |
| - Node* findEventTargetFrom(const VisibleSelection&) const; |
| + Element* findEventTargetFrom(const VisibleSelection&) const; |
| bool findString(const String&, FindOptions); |
| // FIXME: Switch callers over to the FindOptions version and retire this one. |
| @@ -269,7 +269,7 @@ private: |
| void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions); |
| void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions); |
| - Node* findEventTargetFromSelection() const; |
| + Element* findEventTargetFromSelection() const; |
| PassRefPtrWillBeRawPtr<Range> rangeOfString(const String&, Range*, FindOptions); |