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

Side by Side Diff: third_party/WebKit/Source/core/page/DragController.h

Issue 1923993002: Revert of Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class DragImage; 42 class DragImage;
43 struct DragSession; 43 struct DragSession;
44 class DragState; 44 class DragState;
45 class LocalFrame; 45 class LocalFrame;
46 class FrameSelection; 46 class FrameSelection;
47 class HTMLInputElement; 47 class HTMLInputElement;
48 class Node; 48 class Node;
49 class Page; 49 class Page;
50 class PlatformMouseEvent; 50 class PlatformMouseEvent;
51 51
52 class CORE_EXPORT DragController final : public GarbageCollected<DragController> { 52 class CORE_EXPORT DragController final : public GarbageCollectedFinalized<DragCo ntroller> {
53 WTF_MAKE_NONCOPYABLE(DragController); 53 WTF_MAKE_NONCOPYABLE(DragController);
54 public: 54 public:
55 ~DragController();
56
55 static DragController* create(Page*); 57 static DragController* create(Page*);
56 58
57 DragSession dragEntered(DragData*); 59 DragSession dragEntered(DragData*);
58 void dragExited(DragData*); 60 void dragExited(DragData*);
59 DragSession dragUpdated(DragData*); 61 DragSession dragUpdated(DragData*);
60 bool performDrag(DragData*); 62 bool performDrag(DragData*);
61 63
62 enum SelectionDragPolicy { 64 enum SelectionDragPolicy {
63 ImmediateSelectionDragResolution, 65 ImmediateSelectionDragResolution,
64 DelayedSelectionDragResolution, 66 DelayedSelectionDragResolution,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 Member<HTMLInputElement> m_fileInputElementUnderMouse; 102 Member<HTMLInputElement> m_fileInputElementUnderMouse;
101 bool m_documentIsHandlingDrag; 103 bool m_documentIsHandlingDrag;
102 104
103 DragDestinationAction m_dragDestinationAction; 105 DragDestinationAction m_dragDestinationAction;
104 bool m_didInitiateDrag; 106 bool m_didInitiateDrag;
105 }; 107 };
106 108
107 } // namespace blink 109 } // namespace blink
108 110
109 #endif // DragController_h 111 #endif // DragController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698