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

Side by Side Diff: Source/core/clipboard/DataObject.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
« no previous file with comments | « Source/core/clipboard/Clipboard.cpp ('k') | Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 PassRefPtrWillBeRawPtr<DataObject> copy() const; 58 PassRefPtrWillBeRawPtr<DataObject> copy() const;
59 59
60 // DataTransferItemList support. 60 // DataTransferItemList support.
61 size_t length() const; 61 size_t length() const;
62 PassRefPtrWillBeRawPtr<DataObjectItem> item(unsigned long index); 62 PassRefPtrWillBeRawPtr<DataObjectItem> item(unsigned long index);
63 // FIXME: Implement V8DataTransferItemList::indexedPropertyDeleter to get th is called. 63 // FIXME: Implement V8DataTransferItemList::indexedPropertyDeleter to get th is called.
64 void deleteItem(unsigned long index); 64 void deleteItem(unsigned long index);
65 void clearAll(); 65 void clearAll();
66 // Returns null if an item already exists with the provided type. 66 // Returns null if an item already exists with the provided type.
67 PassRefPtrWillBeRawPtr<DataObjectItem> add(const String& data, const String& type); 67 PassRefPtrWillBeRawPtr<DataObjectItem> add(const String& data, const String& type);
68 PassRefPtrWillBeRawPtr<DataObjectItem> add(PassRefPtr<File>); 68 PassRefPtrWillBeRawPtr<DataObjectItem> add(PassRefPtrWillBeRawPtr<File>);
69 69
70 // WebCore helpers. 70 // WebCore helpers.
71 void clearData(const String& type); 71 void clearData(const String& type);
72 void clearAllExceptFiles(); 72 void clearAllExceptFiles();
73 73
74 ListHashSet<String> types() const; 74 ListHashSet<String> types() const;
75 String getData(const String& type) const; 75 String getData(const String& type) const;
76 bool setData(const String& type, const String& data); 76 bool setData(const String& type, const String& data);
77 77
78 void urlAndTitle(String& url, String* title = 0) const; 78 void urlAndTitle(String& url, String* title = 0) const;
(...skipping 25 matching lines...) Expand all
104 104
105 WillBeHeapVector<RefPtrWillBeMember<DataObjectItem> > m_itemList; 105 WillBeHeapVector<RefPtrWillBeMember<DataObjectItem> > m_itemList;
106 106
107 // State of Shift/Ctrl/Alt/Meta keys. 107 // State of Shift/Ctrl/Alt/Meta keys.
108 int m_modifierKeyState; 108 int m_modifierKeyState;
109 }; 109 };
110 110
111 } // namespace WebCore 111 } // namespace WebCore
112 112
113 #endif 113 #endif
OLDNEW
« no previous file with comments | « Source/core/clipboard/Clipboard.cpp ('k') | Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698