| 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 19 matching lines...) Expand all Loading... |
| 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/ExecutionContext.h" | 36 #include "core/dom/ExecutionContext.h" |
| 37 #include "core/dom/StringCallback.h" | 37 #include "core/dom/StringCallback.h" |
| 38 #include "core/dom/TaskRunnerHelper.h" | 38 #include "core/dom/TaskRunnerHelper.h" |
| 39 #include "core/probe/CoreProbes.h" | 39 #include "core/probe/CoreProbes.h" |
| 40 #include "platform/wtf/StdLibExtras.h" |
| 41 #include "platform/wtf/text/WTFString.h" |
| 40 #include "public/platform/WebTraceLocation.h" | 42 #include "public/platform/WebTraceLocation.h" |
| 41 #include "wtf/StdLibExtras.h" | |
| 42 #include "wtf/text/WTFString.h" | |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 DataTransferItem* DataTransferItem::Create(DataTransfer* data_transfer, | 46 DataTransferItem* DataTransferItem::Create(DataTransfer* data_transfer, |
| 47 DataObjectItem* item) { | 47 DataObjectItem* item) { |
| 48 return new DataTransferItem(data_transfer, item); | 48 return new DataTransferItem(data_transfer, item); |
| 49 } | 49 } |
| 50 | 50 |
| 51 String DataTransferItem::kind() const { | 51 String DataTransferItem::kind() const { |
| 52 DEFINE_STATIC_LOCAL(const String, kind_string, ("string")); | 52 DEFINE_STATIC_LOCAL(const String, kind_string, ("string")); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 DataTransferItem::DataTransferItem(DataTransfer* data_transfer, | 102 DataTransferItem::DataTransferItem(DataTransfer* data_transfer, |
| 103 DataObjectItem* item) | 103 DataObjectItem* item) |
| 104 : data_transfer_(data_transfer), item_(item) {} | 104 : data_transfer_(data_transfer), item_(item) {} |
| 105 | 105 |
| 106 DEFINE_TRACE(DataTransferItem) { | 106 DEFINE_TRACE(DataTransferItem) { |
| 107 visitor->Trace(data_transfer_); | 107 visitor->Trace(data_transfer_); |
| 108 visitor->Trace(item_); | 108 visitor->Trace(item_); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| OLD | NEW |