| 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) 2013 Google Inc. | 3 * Copyright (C) 2013 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 16 matching lines...) Expand all Loading... |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/platform/DragData.h" | 28 #include "core/platform/DragData.h" |
| 29 | 29 |
| 30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
| 31 #include "core/dom/DocumentFragment.h" | 31 #include "core/dom/DocumentFragment.h" |
| 32 #include "core/dom/Range.h" | 32 #include "core/dom/Range.h" |
| 33 #include "core/editing/markup.h" | 33 #include "core/editing/markup.h" |
| 34 #include "core/page/Frame.h" | 34 #include "core/page/Frame.h" |
| 35 #include "core/platform/FileSystem.h" | 35 #include "core/platform/FileSystem.h" |
| 36 #include "core/platform/KURL.h" | 36 #include "core/platform/KURL.h" |
| 37 #include "core/platform/PlatformEvent.h" | |
| 38 #include "core/platform/PlatformKeyboardEvent.h" | |
| 39 #include "core/platform/chromium/ChromiumDataObject.h" | 37 #include "core/platform/chromium/ChromiumDataObject.h" |
| 40 #include "core/platform/chromium/ClipboardMimeTypes.h" | 38 #include "core/platform/chromium/ClipboardMimeTypes.h" |
| 41 #include "modules/filesystem/DraggedIsolatedFileSystem.h" | 39 #include "modules/filesystem/DraggedIsolatedFileSystem.h" |
| 42 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
| 43 | 41 |
| 44 #include <public/Platform.h> | 42 #include <public/Platform.h> |
| 45 #include <public/WebFileUtilities.h> | 43 #include <public/WebFileUtilities.h> |
| 46 | 44 |
| 47 namespace WebCore { | 45 namespace WebCore { |
| 48 | 46 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 165 |
| 168 String DragData::droppedFileSystemId() const | 166 String DragData::droppedFileSystemId() const |
| 169 { | 167 { |
| 170 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl
atformDragData); | 168 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl
atformDragData); |
| 171 if (!filesystem) | 169 if (!filesystem) |
| 172 return String(); | 170 return String(); |
| 173 return filesystem->filesystemId(); | 171 return filesystem->filesystemId(); |
| 174 } | 172 } |
| 175 | 173 |
| 176 } // namespace WebCore | 174 } // namespace WebCore |
| OLD | NEW |