OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 BLINK_EXPORT void reset(); | 95 BLINK_EXPORT void reset(); |
96 BLINK_EXPORT void assign(const WebDragData&); | 96 BLINK_EXPORT void assign(const WebDragData&); |
97 | 97 |
98 BLINK_EXPORT WebVector<Item> items() const; | 98 BLINK_EXPORT WebVector<Item> items() const; |
99 BLINK_EXPORT void setItems(const WebVector<Item>&); | 99 BLINK_EXPORT void setItems(const WebVector<Item>&); |
100 BLINK_EXPORT void addItem(const Item&); | 100 BLINK_EXPORT void addItem(const Item&); |
101 | 101 |
102 BLINK_EXPORT WebString filesystemId() const; | 102 BLINK_EXPORT WebString filesystemId() const; |
103 BLINK_EXPORT void setFilesystemId(const WebString&); | 103 BLINK_EXPORT void setFilesystemId(const WebString&); |
104 | 104 |
105 BLINK_EXPORT void setFilenameForNavigation(const WebString&); | |
106 | |
107 #if BLINK_IMPLEMENTATION | 105 #if BLINK_IMPLEMENTATION |
108 explicit WebDragData(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&); | 106 explicit WebDragData(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&); |
109 WebDragData& operator=(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&); | 107 WebDragData& operator=(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&); |
110 WebCore::DataObject* getValue() const; | 108 WebCore::DataObject* getValue() const; |
111 #endif | 109 #endif |
112 | 110 |
113 private: | 111 private: |
114 void ensureMutable(); | 112 void ensureMutable(); |
115 WebPrivatePtr<WebCore::DataObject> m_private; | 113 WebPrivatePtr<WebCore::DataObject> m_private; |
116 }; | 114 }; |
117 | 115 |
118 } // namespace blink | 116 } // namespace blink |
119 | 117 |
120 #endif | 118 #endif |
OLD | NEW |