Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1795)

Side by Side Diff: Source/core/page/DragData.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/page/EventSource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 18 matching lines...) Expand all
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/frame/Frame.h" 34 #include "core/frame/Frame.h"
35 #include "core/platform/chromium/ChromiumDataObject.h" 35 #include "core/platform/chromium/ChromiumDataObject.h"
36 #include "modules/filesystem/DraggedIsolatedFileSystem.h" 36 #include "modules/filesystem/DraggedIsolatedFileSystem.h"
37 #include "platform/FileMetadata.h" 37 #include "platform/FileMetadata.h"
38 #include "platform/clipboard/ClipboardMimeTypes.h" 38 #include "platform/clipboard/ClipboardMimeTypes.h"
39 #include "weborigin/KURL.h" 39 #include "platform/weborigin/KURL.h"
40 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 DragData::DragData(ChromiumDataObject* data, const IntPoint& clientPosition, con st IntPoint& globalPosition, 44 DragData::DragData(ChromiumDataObject* data, const IntPoint& clientPosition, con st IntPoint& globalPosition,
45 DragOperation sourceOperationMask, DragApplicationFlags flags) 45 DragOperation sourceOperationMask, DragApplicationFlags flags)
46 : m_clientPosition(clientPosition) 46 : m_clientPosition(clientPosition)
47 , m_globalPosition(globalPosition) 47 , m_globalPosition(globalPosition)
48 , m_platformDragData(data) 48 , m_platformDragData(data)
49 , m_draggingSourceOperationMask(sourceOperationMask) 49 , m_draggingSourceOperationMask(sourceOperationMask)
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 String DragData::droppedFileSystemId() const 164 String DragData::droppedFileSystemId() const
165 { 165 {
166 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl atformDragData); 166 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_pl atformDragData);
167 if (!filesystem) 167 if (!filesystem)
168 return String(); 168 return String();
169 return filesystem->filesystemId(); 169 return filesystem->filesystemId();
170 } 170 }
171 171
172 } // namespace WebCore 172 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/page/EventSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698