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

Side by Side Diff: Source/core/dom/Clipboard.cpp

Issue 122353002: Move DragImage from core/platform/ to platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/Frame.cpp » ('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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 #include "core/dom/Clipboard.h" 27 #include "core/dom/Clipboard.h"
28 28
29 #include "HTMLNames.h" 29 #include "HTMLNames.h"
30 #include "core/dom/DataTransferItem.h" 30 #include "core/dom/DataTransferItem.h"
31 #include "core/dom/DataTransferItemList.h" 31 #include "core/dom/DataTransferItemList.h"
32 #include "core/editing/markup.h" 32 #include "core/editing/markup.h"
33 #include "core/fetch/ImageResource.h" 33 #include "core/fetch/ImageResource.h"
34 #include "core/fileapi/FileList.h" 34 #include "core/fileapi/FileList.h"
35 #include "core/html/HTMLImageElement.h" 35 #include "core/html/HTMLImageElement.h"
36 #include "core/frame/Frame.h" 36 #include "core/frame/Frame.h"
37 #include "core/platform/DragImage.h"
38 #include "core/platform/chromium/ChromiumDataObject.h" 37 #include "core/platform/chromium/ChromiumDataObject.h"
39 #include "core/rendering/RenderImage.h" 38 #include "core/rendering/RenderImage.h"
40 #include "core/rendering/RenderObject.h" 39 #include "core/rendering/RenderObject.h"
40 #include "platform/DragImage.h"
41 #include "platform/MIMETypeRegistry.h" 41 #include "platform/MIMETypeRegistry.h"
42 #include "platform/clipboard/ClipboardMimeTypes.h" 42 #include "platform/clipboard/ClipboardMimeTypes.h"
43 #include "platform/clipboard/ClipboardUtilities.h" 43 #include "platform/clipboard/ClipboardUtilities.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 // These "conversion" methods are called by both WebCore and WebKit, and never m ake sense to JS, so we don't 47 // These "conversion" methods are called by both WebCore and WebKit, and never m ake sense to JS, so we don't
48 // worry about security for these. They don't allow access to the pasteboard any way. 48 // worry about security for these. They don't allow access to the pasteboard any way.
49 static DragOperation dragOpFromIEOp(const String& op) 49 static DragOperation dragOpFromIEOp(const String& op)
50 { 50 {
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 case DragOperationMove: 516 case DragOperationMove:
517 return String("move"); 517 return String("move");
518 case DragOperationLink: 518 case DragOperationLink:
519 return String("link"); 519 return String("link");
520 default: 520 default:
521 return String("copy"); 521 return String("copy");
522 } 522 }
523 } 523 }
524 524
525 } // namespace WebCore 525 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698