OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 class DragImage; | 41 class DragImage; |
42 struct DragSession; | 42 struct DragSession; |
43 class DragState; | 43 class DragState; |
44 class LocalFrame; | 44 class LocalFrame; |
45 class FrameSelection; | 45 class FrameSelection; |
46 class HTMLInputElement; | 46 class HTMLInputElement; |
47 class Node; | 47 class Node; |
48 class Page; | 48 class Page; |
49 class PlatformMouseEvent; | 49 class PlatformMouseEvent; |
50 | 50 |
51 class DragController FINAL : public NoBaseWillBeGarbageCollectedFinalized<DragCo
ntroller> { | 51 class DragController final : public NoBaseWillBeGarbageCollectedFinalized<DragCo
ntroller> { |
52 WTF_MAKE_NONCOPYABLE(DragController); | 52 WTF_MAKE_NONCOPYABLE(DragController); |
53 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 53 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
54 public: | 54 public: |
55 ~DragController(); | 55 ~DragController(); |
56 | 56 |
57 static PassOwnPtrWillBeRawPtr<DragController> create(Page*, DragClient*); | 57 static PassOwnPtrWillBeRawPtr<DragController> create(Page*, DragClient*); |
58 | 58 |
59 DragSession dragEntered(DragData*); | 59 DragSession dragEntered(DragData*); |
60 void dragExited(DragData*); | 60 void dragExited(DragData*); |
61 DragSession dragUpdated(DragData*); | 61 DragSession dragUpdated(DragData*); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse; | 104 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse; |
105 bool m_documentIsHandlingDrag; | 105 bool m_documentIsHandlingDrag; |
106 | 106 |
107 DragDestinationAction m_dragDestinationAction; | 107 DragDestinationAction m_dragDestinationAction; |
108 bool m_didInitiateDrag; | 108 bool m_didInitiateDrag; |
109 }; | 109 }; |
110 | 110 |
111 } // namespace blink | 111 } // namespace blink |
112 | 112 |
113 #endif // DragController_h | 113 #endif // DragController_h |
OLD | NEW |