OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/glue/webdropdata.h" | 5 #include "webkit/glue/webdropdata.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" | 12 #include "third_party/WebKit/public/platform/WebData.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebDragData.h" | 13 #include "third_party/WebKit/public/platform/WebDragData.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 15 #include "third_party/WebKit/public/platform/WebURL.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 16 #include "third_party/WebKit/public/platform/WebVector.h" |
17 #include "ui/base/clipboard/clipboard.h" | 17 #include "ui/base/clipboard/clipboard.h" |
18 | 18 |
19 using WebKit::WebData; | 19 using WebKit::WebData; |
20 using WebKit::WebDragData; | 20 using WebKit::WebDragData; |
21 using WebKit::WebString; | 21 using WebKit::WebString; |
22 using WebKit::WebVector; | 22 using WebKit::WebVector; |
23 | 23 |
24 WebDropData::FileInfo::FileInfo() { | 24 WebDropData::FileInfo::FileInfo() { |
25 } | 25 } |
26 | 26 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 item.stringData = it->second; | 138 item.stringData = it->second; |
139 item_list.push_back(item); | 139 item_list.push_back(item); |
140 } | 140 } |
141 | 141 |
142 WebDragData result; | 142 WebDragData result; |
143 result.initialize(); | 143 result.initialize(); |
144 result.setItems(item_list); | 144 result.setItems(item_list); |
145 result.setFilesystemId(filesystem_id); | 145 result.setFilesystemId(filesystem_id); |
146 return result; | 146 return result; |
147 } | 147 } |
OLD | NEW |