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

Side by Side Diff: chrome/common/render_messages.h

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
« no previous file with comments | « chrome/common/os_exchange_data_unittest.cc ('k') | webkit/glue/clipboard_conversion.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 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 1655
1656 // Traits for WebDropData 1656 // Traits for WebDropData
1657 template <> 1657 template <>
1658 struct ParamTraits<WebDropData> { 1658 struct ParamTraits<WebDropData> {
1659 typedef WebDropData param_type; 1659 typedef WebDropData param_type;
1660 static void Write(Message* m, const param_type& p) { 1660 static void Write(Message* m, const param_type& p) {
1661 WriteParam(m, p.url); 1661 WriteParam(m, p.url);
1662 WriteParam(m, p.url_title); 1662 WriteParam(m, p.url_title);
1663 WriteParam(m, p.filenames); 1663 WriteParam(m, p.filenames);
1664 WriteParam(m, p.plain_text); 1664 WriteParam(m, p.plain_text);
1665 WriteParam(m, p.cf_html);
1666 WriteParam(m, p.text_html); 1665 WriteParam(m, p.text_html);
1666 WriteParam(m, p.html_base_url);
1667 WriteParam(m, p.file_description_filename); 1667 WriteParam(m, p.file_description_filename);
1668 WriteParam(m, p.file_contents); 1668 WriteParam(m, p.file_contents);
1669 } 1669 }
1670 static bool Read(const Message* m, void** iter, param_type* p) { 1670 static bool Read(const Message* m, void** iter, param_type* p) {
1671 return 1671 return
1672 ReadParam(m, iter, &p->url) && 1672 ReadParam(m, iter, &p->url) &&
1673 ReadParam(m, iter, &p->url_title) && 1673 ReadParam(m, iter, &p->url_title) &&
1674 ReadParam(m, iter, &p->filenames) && 1674 ReadParam(m, iter, &p->filenames) &&
1675 ReadParam(m, iter, &p->plain_text) && 1675 ReadParam(m, iter, &p->plain_text) &&
1676 ReadParam(m, iter, &p->cf_html) &&
1677 ReadParam(m, iter, &p->text_html) && 1676 ReadParam(m, iter, &p->text_html) &&
1677 ReadParam(m, iter, &p->html_base_url) &&
1678 ReadParam(m, iter, &p->file_description_filename) && 1678 ReadParam(m, iter, &p->file_description_filename) &&
1679 ReadParam(m, iter, &p->file_contents); 1679 ReadParam(m, iter, &p->file_contents);
1680 } 1680 }
1681 static void Log(const param_type& p, std::wstring* l) { 1681 static void Log(const param_type& p, std::wstring* l) {
1682 l->append(L"<WebDropData>"); 1682 l->append(L"<WebDropData>");
1683 } 1683 }
1684 }; 1684 };
1685 1685
1686 // Traits for ScreenInfo 1686 // Traits for ScreenInfo
1687 template <> 1687 template <>
(...skipping 15 matching lines...) Expand all
1703 ReadParam(m, iter, &p->available_rect); 1703 ReadParam(m, iter, &p->available_rect);
1704 } 1704 }
1705 static void Log(const param_type& p, std::wstring* l) { 1705 static void Log(const param_type& p, std::wstring* l) {
1706 l->append(L"<webkit_glue::ScreenInfo>"); 1706 l->append(L"<webkit_glue::ScreenInfo>");
1707 } 1707 }
1708 }; 1708 };
1709 1709
1710 } // namespace IPC 1710 } // namespace IPC
1711 1711
1712 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1712 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/os_exchange_data_unittest.cc ('k') | webkit/glue/clipboard_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698