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

Side by Side Diff: Source/core/clipboard/DataTransferItemList.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 months 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) 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class DataTransferItemList : public RefCountedWillBeGarbageCollectedFinalized<Da taTransferItemList>, public ScriptWrappable { 49 class DataTransferItemList : public RefCountedWillBeGarbageCollectedFinalized<Da taTransferItemList>, public ScriptWrappable {
50 public: 50 public:
51 static PassRefPtrWillBeRawPtr<DataTransferItemList> create(PassRefPtrWillBeR awPtr<Clipboard>, PassRefPtrWillBeRawPtr<DataObject>); 51 static PassRefPtrWillBeRawPtr<DataTransferItemList> create(PassRefPtrWillBeR awPtr<Clipboard>, PassRefPtrWillBeRawPtr<DataObject>);
52 ~DataTransferItemList(); 52 ~DataTransferItemList();
53 53
54 size_t length() const; 54 size_t length() const;
55 PassRefPtrWillBeRawPtr<DataTransferItem> item(unsigned long index); 55 PassRefPtrWillBeRawPtr<DataTransferItem> item(unsigned long index);
56 void deleteItem(unsigned long index, ExceptionState&); 56 void deleteItem(unsigned long index, ExceptionState&);
57 void clear(); 57 void clear();
58 PassRefPtrWillBeRawPtr<DataTransferItem> add(const String& data, const Strin g& type, ExceptionState&); 58 PassRefPtrWillBeRawPtr<DataTransferItem> add(const String& data, const Strin g& type, ExceptionState&);
59 PassRefPtrWillBeRawPtr<DataTransferItem> add(PassRefPtr<File>); 59 PassRefPtrWillBeRawPtr<DataTransferItem> add(PassRefPtrWillBeRawPtr<File>);
60 60
61 void trace(Visitor*); 61 void trace(Visitor*);
62 62
63 private: 63 private:
64 DataTransferItemList(PassRefPtrWillBeRawPtr<Clipboard>, PassRefPtrWillBeRawP tr<DataObject>); 64 DataTransferItemList(PassRefPtrWillBeRawPtr<Clipboard>, PassRefPtrWillBeRawP tr<DataObject>);
65 65
66 RefPtrWillBeMember<Clipboard> m_clipboard; 66 RefPtrWillBeMember<Clipboard> m_clipboard;
67 RefPtrWillBeMember<DataObject> m_dataObject; 67 RefPtrWillBeMember<DataObject> m_dataObject;
68 }; 68 };
69 69
70 } // namespace WebCore 70 } // namespace WebCore
71 71
72 #endif // DataTransferItemList_h 72 #endif // DataTransferItemList_h
OLDNEW
« no previous file with comments | « Source/core/clipboard/DataTransferItem.cpp ('k') | Source/core/clipboard/DataTransferItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698