OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008, 2009 Google Inc. | 3 * Copyright (C) 2008, 2009 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 12 matching lines...) Expand all Loading... |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 // Modified from DragDataWin.cpp to not directly call any windows methods as | 27 // Modified from DragDataWin.cpp to not directly call any windows methods as |
28 // they may not be available to us in the multiprocess | 28 // they may not be available to us in the multiprocess |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "core/platform/DragData.h" | 31 #include "core/platform/DragData.h" |
32 | 32 |
33 #include "Document.h" | |
34 #include "DocumentFragment.h" | |
35 #include "DraggedIsolatedFileSystem.h" | 33 #include "DraggedIsolatedFileSystem.h" |
36 #include "Range.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/dom/DocumentFragment.h" |
| 36 #include "core/dom/Range.h" |
37 #include "core/editing/markup.h" | 37 #include "core/editing/markup.h" |
38 #include "core/page/Frame.h" | 38 #include "core/page/Frame.h" |
39 #include "core/platform/FileSystem.h" | 39 #include "core/platform/FileSystem.h" |
40 #include "core/platform/KURL.h" | 40 #include "core/platform/KURL.h" |
41 #include "core/platform/NotImplemented.h" | 41 #include "core/platform/NotImplemented.h" |
42 #include "core/platform/chromium/ChromiumDataObject.h" | 42 #include "core/platform/chromium/ChromiumDataObject.h" |
43 #include "core/platform/chromium/ClipboardMimeTypes.h" | 43 #include "core/platform/chromium/ClipboardMimeTypes.h" |
44 #include <wtf/text/WTFString.h> | 44 #include <wtf/text/WTFString.h> |
45 | 45 |
46 #include <public/Platform.h> | 46 #include <public/Platform.h> |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 String DragData::droppedFileSystemId() const | 167 String DragData::droppedFileSystemId() const |
168 { | 168 { |
169 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl
atformDragData); | 169 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl
atformDragData); |
170 if (!filesystem) | 170 if (!filesystem) |
171 return String(); | 171 return String(); |
172 return filesystem->filesystemId(); | 172 return filesystem->filesystemId(); |
173 } | 173 } |
174 | 174 |
175 } // namespace WebCore | 175 } // namespace WebCore |
OLD | NEW |