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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class DataTransfer; | 37 class DataTransfer; |
38 class Document; | 38 class Document; |
39 class DragClient; | 39 class DragClient; |
40 class DragData; | 40 class DragData; |
41 class DragImage; | 41 class DragImage; |
42 struct DragSession; | 42 struct DragSession; |
43 class DragState; | 43 class DragState; |
44 class Element; | |
45 class LocalFrame; | 44 class LocalFrame; |
46 class FrameSelection; | 45 class FrameSelection; |
47 class HTMLInputElement; | 46 class HTMLInputElement; |
48 class Image; | |
49 class IntRect; | |
50 class Node; | 47 class Node; |
51 class Page; | 48 class Page; |
52 class PlatformMouseEvent; | 49 class PlatformMouseEvent; |
53 class Range; | |
54 | 50 |
55 class DragController FINAL : public NoBaseWillBeGarbageCollectedFinalized<DragCo
ntroller> { | 51 class DragController FINAL : public NoBaseWillBeGarbageCollectedFinalized<DragCo
ntroller> { |
56 WTF_MAKE_NONCOPYABLE(DragController); | 52 WTF_MAKE_NONCOPYABLE(DragController); |
57 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 53 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
58 public: | 54 public: |
59 ~DragController(); | 55 ~DragController(); |
60 | 56 |
61 static PassOwnPtrWillBeRawPtr<DragController> create(Page*, DragClient*); | 57 static PassOwnPtrWillBeRawPtr<DragController> create(Page*, DragClient*); |
62 | 58 |
63 DragSession dragEntered(DragData*); | 59 DragSession dragEntered(DragData*); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse; | 104 RefPtrWillBeMember<HTMLInputElement> m_fileInputElementUnderMouse; |
109 bool m_documentIsHandlingDrag; | 105 bool m_documentIsHandlingDrag; |
110 | 106 |
111 DragDestinationAction m_dragDestinationAction; | 107 DragDestinationAction m_dragDestinationAction; |
112 bool m_didInitiateDrag; | 108 bool m_didInitiateDrag; |
113 }; | 109 }; |
114 | 110 |
115 } // namespace blink | 111 } // namespace blink |
116 | 112 |
117 #endif // DragController_h | 113 #endif // DragController_h |
OLD | NEW |