| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 Vector<String> Filenames() const; | 91 Vector<String> Filenames() const; |
| 92 void AddFilename(const String& filename, | 92 void AddFilename(const String& filename, |
| 93 const String& display_name, | 93 const String& display_name, |
| 94 const String& file_system_id); | 94 const String& file_system_id); |
| 95 | 95 |
| 96 // Used for dragging in filesystem from the desktop. | 96 // Used for dragging in filesystem from the desktop. |
| 97 void SetFilesystemId(const String& file_system_id) { | 97 void SetFilesystemId(const String& file_system_id) { |
| 98 filesystem_id_ = file_system_id; | 98 filesystem_id_ = file_system_id; |
| 99 } | 99 } |
| 100 const String& FilesystemId() const { | 100 const String& FilesystemId() const { |
| 101 ASSERT(!filesystem_id_.IsEmpty()); | 101 DCHECK(!filesystem_id_.IsEmpty()); |
| 102 return filesystem_id_; | 102 return filesystem_id_; |
| 103 } | 103 } |
| 104 | 104 |
| 105 // Used to handle files (images) being dragged out. | 105 // Used to handle files (images) being dragged out. |
| 106 void AddSharedBuffer(PassRefPtr<SharedBuffer>, | 106 void AddSharedBuffer(PassRefPtr<SharedBuffer>, |
| 107 const KURL&, | 107 const KURL&, |
| 108 const String& filename_extension, | 108 const String& filename_extension, |
| 109 const AtomicString& content_disposition); | 109 const AtomicString& content_disposition); |
| 110 | 110 |
| 111 int GetModifiers() const { return modifiers_; } | 111 int GetModifiers() const { return modifiers_; } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 125 HeapVector<Member<DataObjectItem>> item_list_; | 125 HeapVector<Member<DataObjectItem>> item_list_; |
| 126 | 126 |
| 127 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons | 127 // State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons |
| 128 int modifiers_; | 128 int modifiers_; |
| 129 String filesystem_id_; | 129 String filesystem_id_; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace blink | 132 } // namespace blink |
| 133 | 133 |
| 134 #endif | 134 #endif |
| OLD | NEW |