| 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 24 matching lines...) Expand all Loading... |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
| 37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
| 38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class Blob; | 42 class Blob; |
| 43 class DataObjectItem; | 43 class DataObjectItem; |
| 44 class DataTransfer; | 44 class DataTransfer; |
| 45 class File; | |
| 46 class StringCallback; | 45 class StringCallback; |
| 47 class ExecutionContext; | 46 class ExecutionContext; |
| 48 | 47 |
| 49 class DataTransferItem final : public RefCountedWillBeGarbageCollected<DataTrans
ferItem>, public ScriptWrappable { | 48 class DataTransferItem final : public RefCountedWillBeGarbageCollected<DataTrans
ferItem>, public ScriptWrappable { |
| 50 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem); | 49 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem); |
| 51 DEFINE_WRAPPERTYPEINFO(); | 50 DEFINE_WRAPPERTYPEINFO(); |
| 52 public: | 51 public: |
| 53 static PassRefPtrWillBeRawPtr<DataTransferItem> create(PassRefPtrWillBeRawPt
r<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>); | 52 static PassRefPtrWillBeRawPtr<DataTransferItem> create(PassRefPtrWillBeRawPt
r<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>); |
| 54 | 53 |
| 55 String kind() const; | 54 String kind() const; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 66 private: | 65 private: |
| 67 DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPt
r<DataObjectItem>); | 66 DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPt
r<DataObjectItem>); |
| 68 | 67 |
| 69 RefPtrWillBeMember<DataTransfer> m_dataTransfer; | 68 RefPtrWillBeMember<DataTransfer> m_dataTransfer; |
| 70 RefPtrWillBeMember<DataObjectItem> m_item; | 69 RefPtrWillBeMember<DataObjectItem> m_item; |
| 71 }; | 70 }; |
| 72 | 71 |
| 73 } // namespace blink | 72 } // namespace blink |
| 74 | 73 |
| 75 #endif // DataTransferItem_h | 74 #endif // DataTransferItem_h |
| OLD | NEW |