| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "core/clipboard/DataTransferItem.h" | 31 #include "core/clipboard/DataTransferItem.h" |
| 32 | 32 |
| 33 #include "bindings/core/v8/V8Binding.h" | 33 #include "bindings/core/v8/V8Binding.h" |
| 34 #include "core/clipboard/DataObjectItem.h" | 34 #include "core/clipboard/DataObjectItem.h" |
| 35 #include "core/clipboard/DataTransfer.h" | 35 #include "core/clipboard/DataTransfer.h" |
| 36 #include "core/dom/StringCallback.h" | 36 #include "core/dom/StringCallback.h" |
| 37 #include "core/dom/TaskRunnerHelper.h" | 37 #include "core/dom/TaskRunnerHelper.h" |
| 38 #include "core/inspector/InspectorInstrumentation.h" | 38 #include "core/probe/CoreProbes.h" |
| 39 #include "public/platform/WebTraceLocation.h" | 39 #include "public/platform/WebTraceLocation.h" |
| 40 #include "wtf/StdLibExtras.h" | 40 #include "wtf/StdLibExtras.h" |
| 41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 DataTransferItem* DataTransferItem::create(DataTransfer* dataTransfer, | 45 DataTransferItem* DataTransferItem::create(DataTransfer* dataTransfer, |
| 46 DataObjectItem* item) { | 46 DataObjectItem* item) { |
| 47 return new DataTransferItem(dataTransfer, item); | 47 return new DataTransferItem(dataTransfer, item); |
| 48 } | 48 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 DataTransferItem::DataTransferItem(DataTransfer* dataTransfer, | 101 DataTransferItem::DataTransferItem(DataTransfer* dataTransfer, |
| 102 DataObjectItem* item) | 102 DataObjectItem* item) |
| 103 : m_dataTransfer(dataTransfer), m_item(item) {} | 103 : m_dataTransfer(dataTransfer), m_item(item) {} |
| 104 | 104 |
| 105 DEFINE_TRACE(DataTransferItem) { | 105 DEFINE_TRACE(DataTransferItem) { |
| 106 visitor->trace(m_dataTransfer); | 106 visitor->trace(m_dataTransfer); |
| 107 visitor->trace(m_item); | 107 visitor->trace(m_item); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace blink | 110 } // namespace blink |
| OLD | NEW |