| OLD | NEW | 
|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1634     WriteParam(m, p.javascript_can_open_windows_automatically); | 1634     WriteParam(m, p.javascript_can_open_windows_automatically); | 
| 1635     WriteParam(m, p.loads_images_automatically); | 1635     WriteParam(m, p.loads_images_automatically); | 
| 1636     WriteParam(m, p.plugins_enabled); | 1636     WriteParam(m, p.plugins_enabled); | 
| 1637     WriteParam(m, p.dom_paste_enabled); | 1637     WriteParam(m, p.dom_paste_enabled); | 
| 1638     WriteParam(m, p.developer_extras_enabled); | 1638     WriteParam(m, p.developer_extras_enabled); | 
| 1639     WriteParam(m, p.inspector_settings); | 1639     WriteParam(m, p.inspector_settings); | 
| 1640     WriteParam(m, p.shrinks_standalone_images_to_fit); | 1640     WriteParam(m, p.shrinks_standalone_images_to_fit); | 
| 1641     WriteParam(m, p.uses_universal_detector); | 1641     WriteParam(m, p.uses_universal_detector); | 
| 1642     WriteParam(m, p.text_areas_are_resizable); | 1642     WriteParam(m, p.text_areas_are_resizable); | 
| 1643     WriteParam(m, p.java_enabled); | 1643     WriteParam(m, p.java_enabled); | 
| 1644     WriteParam(m, p.user_style_sheet_enabled); | 1644     WriteParam(m, p.allow_scripts_to_close_windows); | 
| 1645     WriteParam(m, p.user_style_sheet_location); |  | 
| 1646     WriteParam(m, p.uses_page_cache); | 1645     WriteParam(m, p.uses_page_cache); | 
| 1647     WriteParam(m, p.remote_fonts_enabled); | 1646     WriteParam(m, p.remote_fonts_enabled); | 
| 1648     WriteParam(m, p.xss_auditor_enabled); | 1647     WriteParam(m, p.xss_auditor_enabled); | 
| 1649     WriteParam(m, p.local_storage_enabled); | 1648     WriteParam(m, p.local_storage_enabled); | 
| 1650     WriteParam(m, p.databases_enabled); | 1649     WriteParam(m, p.databases_enabled); | 
| 1651     WriteParam(m, p.session_storage_enabled); | 1650     WriteParam(m, p.session_storage_enabled); | 
| 1652     WriteParam(m, p.application_cache_enabled); | 1651     WriteParam(m, p.application_cache_enabled); | 
|  | 1652     WriteParam(m, p.tabs_to_links); | 
|  | 1653     WriteParam(m, p.user_style_sheet_enabled); | 
|  | 1654     WriteParam(m, p.user_style_sheet_location); | 
|  | 1655     WriteParam(m, p.allow_universal_access_from_file_urls); | 
| 1653     WriteParam(m, p.experimental_webgl_enabled); | 1656     WriteParam(m, p.experimental_webgl_enabled); | 
| 1654     WriteParam(m, p.experimental_notifications_enabled); | 1657     WriteParam(m, p.experimental_notifications_enabled); | 
| 1655     WriteParam(m, p.web_sockets_enabled); | 1658     WriteParam(m, p.web_sockets_enabled); | 
| 1656   } | 1659   } | 
| 1657   static bool Read(const Message* m, void** iter, param_type* p) { | 1660   static bool Read(const Message* m, void** iter, param_type* p) { | 
| 1658     return | 1661     return | 
| 1659         ReadParam(m, iter, &p->standard_font_family) && | 1662         ReadParam(m, iter, &p->standard_font_family) && | 
| 1660         ReadParam(m, iter, &p->fixed_font_family) && | 1663         ReadParam(m, iter, &p->fixed_font_family) && | 
| 1661         ReadParam(m, iter, &p->serif_font_family) && | 1664         ReadParam(m, iter, &p->serif_font_family) && | 
| 1662         ReadParam(m, iter, &p->sans_serif_font_family) && | 1665         ReadParam(m, iter, &p->sans_serif_font_family) && | 
| 1663         ReadParam(m, iter, &p->cursive_font_family) && | 1666         ReadParam(m, iter, &p->cursive_font_family) && | 
| 1664         ReadParam(m, iter, &p->fantasy_font_family) && | 1667         ReadParam(m, iter, &p->fantasy_font_family) && | 
| 1665         ReadParam(m, iter, &p->default_font_size) && | 1668         ReadParam(m, iter, &p->default_font_size) && | 
| 1666         ReadParam(m, iter, &p->default_fixed_font_size) && | 1669         ReadParam(m, iter, &p->default_fixed_font_size) && | 
| 1667         ReadParam(m, iter, &p->minimum_font_size) && | 1670         ReadParam(m, iter, &p->minimum_font_size) && | 
| 1668         ReadParam(m, iter, &p->minimum_logical_font_size) && | 1671         ReadParam(m, iter, &p->minimum_logical_font_size) && | 
| 1669         ReadParam(m, iter, &p->default_encoding) && | 1672         ReadParam(m, iter, &p->default_encoding) && | 
| 1670         ReadParam(m, iter, &p->javascript_enabled) && | 1673         ReadParam(m, iter, &p->javascript_enabled) && | 
| 1671         ReadParam(m, iter, &p->web_security_enabled) && | 1674         ReadParam(m, iter, &p->web_security_enabled) && | 
| 1672         ReadParam(m, iter, &p->javascript_can_open_windows_automatically) && | 1675         ReadParam(m, iter, &p->javascript_can_open_windows_automatically) && | 
| 1673         ReadParam(m, iter, &p->loads_images_automatically) && | 1676         ReadParam(m, iter, &p->loads_images_automatically) && | 
| 1674         ReadParam(m, iter, &p->plugins_enabled) && | 1677         ReadParam(m, iter, &p->plugins_enabled) && | 
| 1675         ReadParam(m, iter, &p->dom_paste_enabled) && | 1678         ReadParam(m, iter, &p->dom_paste_enabled) && | 
| 1676         ReadParam(m, iter, &p->developer_extras_enabled) && | 1679         ReadParam(m, iter, &p->developer_extras_enabled) && | 
| 1677         ReadParam(m, iter, &p->inspector_settings) && | 1680         ReadParam(m, iter, &p->inspector_settings) && | 
| 1678         ReadParam(m, iter, &p->shrinks_standalone_images_to_fit) && | 1681         ReadParam(m, iter, &p->shrinks_standalone_images_to_fit) && | 
| 1679         ReadParam(m, iter, &p->uses_universal_detector) && | 1682         ReadParam(m, iter, &p->uses_universal_detector) && | 
| 1680         ReadParam(m, iter, &p->text_areas_are_resizable) && | 1683         ReadParam(m, iter, &p->text_areas_are_resizable) && | 
| 1681         ReadParam(m, iter, &p->java_enabled) && | 1684         ReadParam(m, iter, &p->java_enabled) && | 
| 1682         ReadParam(m, iter, &p->user_style_sheet_enabled) && | 1685         ReadParam(m, iter, &p->allow_scripts_to_close_windows) && | 
| 1683         ReadParam(m, iter, &p->user_style_sheet_location) && |  | 
| 1684         ReadParam(m, iter, &p->uses_page_cache) && | 1686         ReadParam(m, iter, &p->uses_page_cache) && | 
| 1685         ReadParam(m, iter, &p->remote_fonts_enabled) && | 1687         ReadParam(m, iter, &p->remote_fonts_enabled) && | 
| 1686         ReadParam(m, iter, &p->xss_auditor_enabled) && | 1688         ReadParam(m, iter, &p->xss_auditor_enabled) && | 
| 1687         ReadParam(m, iter, &p->local_storage_enabled) && | 1689         ReadParam(m, iter, &p->local_storage_enabled) && | 
| 1688         ReadParam(m, iter, &p->databases_enabled) && | 1690         ReadParam(m, iter, &p->databases_enabled) && | 
| 1689         ReadParam(m, iter, &p->session_storage_enabled) && | 1691         ReadParam(m, iter, &p->session_storage_enabled) && | 
| 1690         ReadParam(m, iter, &p->application_cache_enabled) && | 1692         ReadParam(m, iter, &p->application_cache_enabled) && | 
|  | 1693         ReadParam(m, iter, &p->tabs_to_links) && | 
|  | 1694         ReadParam(m, iter, &p->user_style_sheet_enabled) && | 
|  | 1695         ReadParam(m, iter, &p->user_style_sheet_location) && | 
|  | 1696         ReadParam(m, iter, &p->allow_universal_access_from_file_urls) && | 
| 1691         ReadParam(m, iter, &p->experimental_webgl_enabled) && | 1697         ReadParam(m, iter, &p->experimental_webgl_enabled) && | 
| 1692         ReadParam(m, iter, &p->experimental_notifications_enabled) && | 1698         ReadParam(m, iter, &p->experimental_notifications_enabled) && | 
| 1693         ReadParam(m, iter, &p->web_sockets_enabled); | 1699         ReadParam(m, iter, &p->web_sockets_enabled); | 
| 1694   } | 1700   } | 
| 1695   static void Log(const param_type& p, std::wstring* l) { | 1701   static void Log(const param_type& p, std::wstring* l) { | 
| 1696     l->append(L"<WebPreferences>"); | 1702     l->append(L"<WebPreferences>"); | 
| 1697   } | 1703   } | 
| 1698 }; | 1704 }; | 
| 1699 | 1705 | 
| 1700 // Traits for WebDropData | 1706 // Traits for WebDropData | 
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2245   } | 2251   } | 
| 2246 }; | 2252 }; | 
| 2247 | 2253 | 
| 2248 }  // namespace IPC | 2254 }  // namespace IPC | 
| 2249 | 2255 | 
| 2250 | 2256 | 
| 2251 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" | 2257 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" | 
| 2252 #include "ipc/ipc_message_macros.h" | 2258 #include "ipc/ipc_message_macros.h" | 
| 2253 | 2259 | 
| 2254 #endif  // CHROME_COMMON_RENDER_MESSAGES_H_ | 2260 #endif  // CHROME_COMMON_RENDER_MESSAGES_H_ | 
| OLD | NEW | 
|---|