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

Unified Diff: third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.h

Issue 2574793002: [Editing] Store |CommandSource| in |CompositeEditCommand| (Closed)
Patch Set: Created 4 years 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/editing/commands/DragAndDropCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.h b/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.h
index 180e357095173759b3b95c558f2b88a2c0acd66f..e3cea844df33014f0a0191149394ea1c7df0507a 100644
--- a/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.h
@@ -16,15 +16,15 @@ namespace blink {
// command wrapper to achieve undo group.
class DragAndDropCommand final : public CompositeEditCommand {
public:
- static DragAndDropCommand* create(Document& document) {
- return new DragAndDropCommand(document);
+ static DragAndDropCommand* create(Document& document, CommandSource source) {
+ return new DragAndDropCommand(document, source);
}
bool isCommandGroupWrapper() const override;
bool isDragAndDropCommand() const override;
private:
- explicit DragAndDropCommand(Document&);
+ DragAndDropCommand(Document&, CommandSource);
void doApply(EditingState*) override;
InputEvent::InputType inputType() const override;

Powered by Google App Engine
This is Rietveld 408576698