| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 2009, 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class KURL; | 46 class KURL; |
| 47 class SharedBuffer; | 47 class SharedBuffer; |
| 48 class WebDragData; | 48 class WebDragData; |
| 49 | 49 |
| 50 // A data object for holding data that would be in a clipboard or moved | 50 // A data object for holding data that would be in a clipboard or moved |
| 51 // during a drag-n-drop operation. This is the data that WebCore is aware | 51 // during a drag-n-drop operation. This is the data that WebCore is aware |
| 52 // of and is not specific to a platform. | 52 // of and is not specific to a platform. |
| 53 class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>, pub
lic HeapSupplementable<DataObject> { | 53 class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>, pub
lic Supplementable<DataObject> { |
| 54 USING_GARBAGE_COLLECTED_MIXIN(DataObject); | 54 USING_GARBAGE_COLLECTED_MIXIN(DataObject); |
| 55 public: | 55 public: |
| 56 static DataObject* createFromPasteboard(PasteMode); | 56 static DataObject* createFromPasteboard(PasteMode); |
| 57 static DataObject* create(); | 57 static DataObject* create(); |
| 58 static DataObject* create(WebDragData); | 58 static DataObject* create(WebDragData); |
| 59 | 59 |
| 60 virtual ~DataObject(); | 60 virtual ~DataObject(); |
| 61 | 61 |
| 62 // DataTransferItemList support. | 62 // DataTransferItemList support. |
| 63 size_t length() const; | 63 size_t length() const; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 HeapVector<Member<DataObjectItem>> m_itemList; | 110 HeapVector<Member<DataObjectItem>> m_itemList; |
| 111 | 111 |
| 112 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons | 112 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons |
| 113 int m_modifiers; | 113 int m_modifiers; |
| 114 String m_filesystemId; | 114 String m_filesystemId; |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif | 119 #endif |
| OLD | NEW |