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

Side by Side Diff: webkit/glue/webdropdata.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 | « webkit/glue/webdevtoolsfrontend_impl.cc ('k') | webkit/glue/webframe_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "webkit/api/public/WebData.h" 7 #include "third_party/WebKit/WebKit/chromium/public/WebData.h"
8 #include "webkit/api/public/WebDragData.h" 8 #include "third_party/WebKit/WebKit/chromium/public/WebDragData.h"
9 #include "webkit/api/public/WebString.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
10 #include "webkit/api/public/WebURL.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
11 #include "webkit/api/public/WebVector.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
12 12
13 using WebKit::WebData; 13 using WebKit::WebData;
14 using WebKit::WebDragData; 14 using WebKit::WebDragData;
15 using WebKit::WebString; 15 using WebKit::WebString;
16 using WebKit::WebVector; 16 using WebKit::WebVector;
17 17
18 WebDropData::WebDropData(const WebDragData& drag_data) 18 WebDropData::WebDropData(const WebDragData& drag_data)
19 : identity(0), 19 : identity(0),
20 url(drag_data.url()), 20 url(drag_data.url()),
21 url_title(drag_data.urlTitle()), 21 url_title(drag_data.urlTitle()),
(...skipping 20 matching lines...) Expand all
42 result.setURLTitle(url_title); 42 result.setURLTitle(url_title);
43 result.setFileExtension(file_extension); 43 result.setFileExtension(file_extension);
44 result.setFileNames(filenames); 44 result.setFileNames(filenames);
45 result.setPlainText(plain_text); 45 result.setPlainText(plain_text);
46 result.setHTMLText(text_html); 46 result.setHTMLText(text_html);
47 result.setHTMLBaseURL(html_base_url); 47 result.setHTMLBaseURL(html_base_url);
48 result.setFileContentFileName(file_description_filename); 48 result.setFileContentFileName(file_description_filename);
49 result.setFileContent(WebData(file_contents.data(), file_contents.size())); 49 result.setFileContent(WebData(file_contents.data(), file_contents.size()));
50 return result; 50 return result;
51 } 51 }
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsfrontend_impl.cc ('k') | webkit/glue/webframe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698