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

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

Issue 625001: Chromium pieces to use the WebKit support for isolation file:// documents in... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 10 years, 10 months 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/chrome_switches.cc ('k') | webkit/glue/webpreferences.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 WriteParam(m, p.uses_page_cache); 1738 WriteParam(m, p.uses_page_cache);
1739 WriteParam(m, p.remote_fonts_enabled); 1739 WriteParam(m, p.remote_fonts_enabled);
1740 WriteParam(m, p.xss_auditor_enabled); 1740 WriteParam(m, p.xss_auditor_enabled);
1741 WriteParam(m, p.local_storage_enabled); 1741 WriteParam(m, p.local_storage_enabled);
1742 WriteParam(m, p.databases_enabled); 1742 WriteParam(m, p.databases_enabled);
1743 WriteParam(m, p.application_cache_enabled); 1743 WriteParam(m, p.application_cache_enabled);
1744 WriteParam(m, p.tabs_to_links); 1744 WriteParam(m, p.tabs_to_links);
1745 WriteParam(m, p.user_style_sheet_enabled); 1745 WriteParam(m, p.user_style_sheet_enabled);
1746 WriteParam(m, p.user_style_sheet_location); 1746 WriteParam(m, p.user_style_sheet_location);
1747 WriteParam(m, p.allow_universal_access_from_file_urls); 1747 WriteParam(m, p.allow_universal_access_from_file_urls);
1748 WriteParam(m, p.allow_file_access_from_file_urls);
1748 WriteParam(m, p.experimental_webgl_enabled); 1749 WriteParam(m, p.experimental_webgl_enabled);
1749 WriteParam(m, p.geolocation_enabled); 1750 WriteParam(m, p.geolocation_enabled);
1750 } 1751 }
1751 static bool Read(const Message* m, void** iter, param_type* p) { 1752 static bool Read(const Message* m, void** iter, param_type* p) {
1752 return 1753 return
1753 ReadParam(m, iter, &p->standard_font_family) && 1754 ReadParam(m, iter, &p->standard_font_family) &&
1754 ReadParam(m, iter, &p->fixed_font_family) && 1755 ReadParam(m, iter, &p->fixed_font_family) &&
1755 ReadParam(m, iter, &p->serif_font_family) && 1756 ReadParam(m, iter, &p->serif_font_family) &&
1756 ReadParam(m, iter, &p->sans_serif_font_family) && 1757 ReadParam(m, iter, &p->sans_serif_font_family) &&
1757 ReadParam(m, iter, &p->cursive_font_family) && 1758 ReadParam(m, iter, &p->cursive_font_family) &&
(...skipping 20 matching lines...) Expand all
1778 ReadParam(m, iter, &p->uses_page_cache) && 1779 ReadParam(m, iter, &p->uses_page_cache) &&
1779 ReadParam(m, iter, &p->remote_fonts_enabled) && 1780 ReadParam(m, iter, &p->remote_fonts_enabled) &&
1780 ReadParam(m, iter, &p->xss_auditor_enabled) && 1781 ReadParam(m, iter, &p->xss_auditor_enabled) &&
1781 ReadParam(m, iter, &p->local_storage_enabled) && 1782 ReadParam(m, iter, &p->local_storage_enabled) &&
1782 ReadParam(m, iter, &p->databases_enabled) && 1783 ReadParam(m, iter, &p->databases_enabled) &&
1783 ReadParam(m, iter, &p->application_cache_enabled) && 1784 ReadParam(m, iter, &p->application_cache_enabled) &&
1784 ReadParam(m, iter, &p->tabs_to_links) && 1785 ReadParam(m, iter, &p->tabs_to_links) &&
1785 ReadParam(m, iter, &p->user_style_sheet_enabled) && 1786 ReadParam(m, iter, &p->user_style_sheet_enabled) &&
1786 ReadParam(m, iter, &p->user_style_sheet_location) && 1787 ReadParam(m, iter, &p->user_style_sheet_location) &&
1787 ReadParam(m, iter, &p->allow_universal_access_from_file_urls) && 1788 ReadParam(m, iter, &p->allow_universal_access_from_file_urls) &&
1789 ReadParam(m, iter, &p->allow_file_access_from_file_urls) &&
1788 ReadParam(m, iter, &p->experimental_webgl_enabled) && 1790 ReadParam(m, iter, &p->experimental_webgl_enabled) &&
1789 ReadParam(m, iter, &p->geolocation_enabled); 1791 ReadParam(m, iter, &p->geolocation_enabled);
1790 } 1792 }
1791 static void Log(const param_type& p, std::wstring* l) { 1793 static void Log(const param_type& p, std::wstring* l) {
1792 l->append(L"<WebPreferences>"); 1794 l->append(L"<WebPreferences>");
1793 } 1795 }
1794 }; 1796 };
1795 1797
1796 // Traits for WebDropData 1798 // Traits for WebDropData
1797 template <> 1799 template <>
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 } 2558 }
2557 }; 2559 };
2558 2560
2559 } // namespace IPC 2561 } // namespace IPC
2560 2562
2561 2563
2562 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 2564 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
2563 #include "ipc/ipc_message_macros.h" 2565 #include "ipc/ipc_message_macros.h"
2564 2566
2565 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 2567 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698