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

Side by Side Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.cpp

Issue 2482653002: Move MIME related platform files under network/mime (Closed)
Patch Set: fix Created 4 years 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
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 22 matching lines...) Expand all
33 #include "core/editing/FrameSelection.h" 33 #include "core/editing/FrameSelection.h"
34 #include "core/editing/serializers/Serialization.h" 34 #include "core/editing/serializers/Serialization.h"
35 #include "core/fetch/ImageResource.h" 35 #include "core/fetch/ImageResource.h"
36 #include "core/fileapi/FileList.h" 36 #include "core/fileapi/FileList.h"
37 #include "core/frame/LocalFrame.h" 37 #include "core/frame/LocalFrame.h"
38 #include "core/html/HTMLImageElement.h" 38 #include "core/html/HTMLImageElement.h"
39 #include "core/html/TextControlElement.h" 39 #include "core/html/TextControlElement.h"
40 #include "core/layout/LayoutImage.h" 40 #include "core/layout/LayoutImage.h"
41 #include "core/layout/LayoutObject.h" 41 #include "core/layout/LayoutObject.h"
42 #include "platform/DragImage.h" 42 #include "platform/DragImage.h"
43 #include "platform/MIMETypeRegistry.h"
44 #include "platform/clipboard/ClipboardMimeTypes.h" 43 #include "platform/clipboard/ClipboardMimeTypes.h"
45 #include "platform/clipboard/ClipboardUtilities.h" 44 #include "platform/clipboard/ClipboardUtilities.h"
45 #include "platform/network/mime/MIMETypeRegistry.h"
46 #include <memory> 46 #include <memory>
47 47
48 namespace blink { 48 namespace blink {
49 49
50 static DragOperation convertEffectAllowedToDragOperation(const String& op) { 50 static DragOperation convertEffectAllowedToDragOperation(const String& op) {
51 // Values specified in 51 // Values specified in
52 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-da tatransfer-effectallowed 52 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-da tatransfer-effectallowed
53 if (op == "uninitialized") 53 if (op == "uninitialized")
54 return DragOperationEvery; 54 return DragOperationEvery;
55 if (op == "none") 55 if (op == "none")
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 } 506 }
507 } 507 }
508 508
509 DEFINE_TRACE(DataTransfer) { 509 DEFINE_TRACE(DataTransfer) {
510 visitor->trace(m_dataObject); 510 visitor->trace(m_dataObject);
511 visitor->trace(m_dragImage); 511 visitor->trace(m_dragImage);
512 visitor->trace(m_dragImageElement); 512 visitor->trace(m_dragImageElement);
513 } 513 }
514 514
515 } // namespace blink 515 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698