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

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

Issue 625007: Revert 39287 - Chromium pieces to use the WebKit support for isolation file:/... (Closed) Base URL: svn://svn.chromium.org/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 | Annotate | Revision Log
« 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 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 WriteParam(m, p.uses_page_cache); 1742 WriteParam(m, p.uses_page_cache);
1743 WriteParam(m, p.remote_fonts_enabled); 1743 WriteParam(m, p.remote_fonts_enabled);
1744 WriteParam(m, p.xss_auditor_enabled); 1744 WriteParam(m, p.xss_auditor_enabled);
1745 WriteParam(m, p.local_storage_enabled); 1745 WriteParam(m, p.local_storage_enabled);
1746 WriteParam(m, p.databases_enabled); 1746 WriteParam(m, p.databases_enabled);
1747 WriteParam(m, p.application_cache_enabled); 1747 WriteParam(m, p.application_cache_enabled);
1748 WriteParam(m, p.tabs_to_links); 1748 WriteParam(m, p.tabs_to_links);
1749 WriteParam(m, p.user_style_sheet_enabled); 1749 WriteParam(m, p.user_style_sheet_enabled);
1750 WriteParam(m, p.user_style_sheet_location); 1750 WriteParam(m, p.user_style_sheet_location);
1751 WriteParam(m, p.allow_universal_access_from_file_urls); 1751 WriteParam(m, p.allow_universal_access_from_file_urls);
1752 WriteParam(m, p.allow_file_access_from_file_urls);
1753 WriteParam(m, p.experimental_webgl_enabled); 1752 WriteParam(m, p.experimental_webgl_enabled);
1754 WriteParam(m, p.geolocation_enabled); 1753 WriteParam(m, p.geolocation_enabled);
1755 } 1754 }
1756 static bool Read(const Message* m, void** iter, param_type* p) { 1755 static bool Read(const Message* m, void** iter, param_type* p) {
1757 return 1756 return
1758 ReadParam(m, iter, &p->standard_font_family) && 1757 ReadParam(m, iter, &p->standard_font_family) &&
1759 ReadParam(m, iter, &p->fixed_font_family) && 1758 ReadParam(m, iter, &p->fixed_font_family) &&
1760 ReadParam(m, iter, &p->serif_font_family) && 1759 ReadParam(m, iter, &p->serif_font_family) &&
1761 ReadParam(m, iter, &p->sans_serif_font_family) && 1760 ReadParam(m, iter, &p->sans_serif_font_family) &&
1762 ReadParam(m, iter, &p->cursive_font_family) && 1761 ReadParam(m, iter, &p->cursive_font_family) &&
(...skipping 20 matching lines...) Expand all
1783 ReadParam(m, iter, &p->uses_page_cache) && 1782 ReadParam(m, iter, &p->uses_page_cache) &&
1784 ReadParam(m, iter, &p->remote_fonts_enabled) && 1783 ReadParam(m, iter, &p->remote_fonts_enabled) &&
1785 ReadParam(m, iter, &p->xss_auditor_enabled) && 1784 ReadParam(m, iter, &p->xss_auditor_enabled) &&
1786 ReadParam(m, iter, &p->local_storage_enabled) && 1785 ReadParam(m, iter, &p->local_storage_enabled) &&
1787 ReadParam(m, iter, &p->databases_enabled) && 1786 ReadParam(m, iter, &p->databases_enabled) &&
1788 ReadParam(m, iter, &p->application_cache_enabled) && 1787 ReadParam(m, iter, &p->application_cache_enabled) &&
1789 ReadParam(m, iter, &p->tabs_to_links) && 1788 ReadParam(m, iter, &p->tabs_to_links) &&
1790 ReadParam(m, iter, &p->user_style_sheet_enabled) && 1789 ReadParam(m, iter, &p->user_style_sheet_enabled) &&
1791 ReadParam(m, iter, &p->user_style_sheet_location) && 1790 ReadParam(m, iter, &p->user_style_sheet_location) &&
1792 ReadParam(m, iter, &p->allow_universal_access_from_file_urls) && 1791 ReadParam(m, iter, &p->allow_universal_access_from_file_urls) &&
1793 ReadParam(m, iter, &p->allow_file_access_from_file_urls) &&
1794 ReadParam(m, iter, &p->experimental_webgl_enabled) && 1792 ReadParam(m, iter, &p->experimental_webgl_enabled) &&
1795 ReadParam(m, iter, &p->geolocation_enabled); 1793 ReadParam(m, iter, &p->geolocation_enabled);
1796 } 1794 }
1797 static void Log(const param_type& p, std::wstring* l) { 1795 static void Log(const param_type& p, std::wstring* l) {
1798 l->append(L"<WebPreferences>"); 1796 l->append(L"<WebPreferences>");
1799 } 1797 }
1800 }; 1798 };
1801 1799
1802 // Traits for WebDropData 1800 // Traits for WebDropData
1803 template <> 1801 template <>
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
2566 } 2564 }
2567 }; 2565 };
2568 2566
2569 } // namespace IPC 2567 } // namespace IPC
2570 2568
2571 2569
2572 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 2570 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
2573 #include "ipc/ipc_message_macros.h" 2571 #include "ipc/ipc_message_macros.h"
2574 2572
2575 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 2573 #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