summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/DragState.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/DragState.h')
-rw-r--r--Source/WebCore/page/DragState.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/page/DragState.h b/Source/WebCore/page/DragState.h
index 70849fdc5..6d1625900 100644
--- a/Source/WebCore/page/DragState.h
+++ b/Source/WebCore/page/DragState.h
@@ -11,10 +11,10 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
@@ -24,10 +24,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DragState_h
-#define DragState_h
+#pragma once
-#include "Clipboard.h"
+#include "DataTransfer.h"
#include "DragActions.h"
#include "Element.h"
@@ -37,9 +36,7 @@ struct DragState {
RefPtr<Element> source; // Element that may be a drag source, for the current mouse gesture.
bool shouldDispatchEvents;
DragSourceAction type;
- RefPtr<Clipboard> clipboard; // Used on only the source side of dragging.
+ RefPtr<DataTransfer> dataTransfer; // Used on only the source side of dragging.
};
} // namespace WebCore
-
-#endif // DragState_h