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

Side by Side Diff: webkit/port/platform/chromium/ChromiumDataObject.cpp

Issue 11247: Remove cf_html from webdropdata.h. This is windows (Closed)
Patch Set: fix feedback Created 12 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
OLDNEW
1 // Copyright (c) 2008, Google Inc. 1 // Copyright (c) 2008, Google Inc.
2 // All rights reserved. 2 // 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 21 matching lines...) Expand all
32 32
33 using namespace WebCore; 33 using namespace WebCore;
34 34
35 void ChromiumDataObject::clear() 35 void ChromiumDataObject::clear()
36 { 36 {
37 url = KURL(); 37 url = KURL();
38 url_title = ""; 38 url_title = "";
39 filenames.clear(); 39 filenames.clear();
40 plain_text = ""; 40 plain_text = "";
41 text_html = ""; 41 text_html = "";
42 html_base_url = KURL();
42 file_content_filename = ""; 43 file_content_filename = "";
43 if (file_content) 44 if (file_content)
44 file_content->clear(); 45 file_content->clear();
45 } 46 }
46 47
47 bool ChromiumDataObject::hasData() 48 bool ChromiumDataObject::hasData()
48 { 49 {
49 return !url.isEmpty() || !filenames.isEmpty() || 50 return !url.isEmpty() || !filenames.isEmpty() ||
50 !plain_text.isEmpty() || !text_html.isEmpty() || 51 !plain_text.isEmpty() || !text_html.isEmpty() ||
51 file_content; 52 file_content;
52 } 53 }
OLDNEW
« no previous file with comments | « webkit/port/platform/chromium/ChromiumDataObject.h ('k') | webkit/port/platform/chromium/ClipboardChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698