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 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 "DragData.h" | 31 #include "core/platform/DragData.h" |
32 | 32 |
33 #include "Document.h" | 33 #include "Document.h" |
34 #include "DocumentFragment.h" | 34 #include "DocumentFragment.h" |
35 #include "DraggedIsolatedFileSystem.h" | 35 #include "DraggedIsolatedFileSystem.h" |
36 #include "FileSystem.h" | |
37 #include "Frame.h" | 36 #include "Frame.h" |
38 #include "KURL.h" | |
39 #include "NotImplemented.h" | |
40 #include "Range.h" | 37 #include "Range.h" |
| 38 #include "core/platform/FileSystem.h" |
| 39 #include "core/platform/KURL.h" |
| 40 #include "core/platform/NotImplemented.h" |
41 #include "core/platform/chromium/ChromiumDataObject.h" | 41 #include "core/platform/chromium/ChromiumDataObject.h" |
42 #include "core/platform/chromium/ClipboardMimeTypes.h" | 42 #include "core/platform/chromium/ClipboardMimeTypes.h" |
43 #include "markup.h" | 43 #include "markup.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> |
47 #include <public/WebFileUtilities.h> | 47 #include <public/WebFileUtilities.h> |
48 | 48 |
49 namespace WebCore { | 49 namespace WebCore { |
50 | 50 |
(...skipping 115 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 |