OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 | 778 |
779 // Runs the renderer and plugins in the same process as the browser | 779 // Runs the renderer and plugins in the same process as the browser |
780 const char kSingleProcess[] = "single-process"; | 780 const char kSingleProcess[] = "single-process"; |
781 | 781 |
782 // Experimentally enforces a one-site-per-process security policy. | 782 // Experimentally enforces a one-site-per-process security policy. |
783 // All cross-site navigations force process swaps, and we can restrict a | 783 // All cross-site navigations force process swaps, and we can restrict a |
784 // renderer process's access rights based on its site. For details, see: | 784 // renderer process's access rights based on its site. For details, see: |
785 // http://www.chromium.org/developers/design-documents/site-isolation | 785 // http://www.chromium.org/developers/design-documents/site-isolation |
786 // | 786 // |
787 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), | 787 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), |
788 // this flag blocks cross-site documents even in iframes, until out-of-process | 788 // this flag does not affect which cookies are attached to cross-site requests. |
789 // iframe support is available. Cross-site network requests do attach the | 789 // Support is being added to render cross-site iframes in a different process |
790 // normal set of cookies, but a renderer process is only allowed to view or | 790 // than their parent pages. |
791 // modify cookies for its own site (via JavaScript). | |
792 // TODO(irobert): Implement the cross-site document blocking in | |
793 // http://crbug.com/159215. | |
794 const char kSitePerProcess[] = "site-per-process"; | 791 const char kSitePerProcess[] = "site-per-process"; |
795 | 792 |
796 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 793 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
797 // scheduling at browser startup time. | 794 // scheduling at browser startup time. |
798 // Therefore, all GPU features are available, and about:gpu page shows empty | 795 // Therefore, all GPU features are available, and about:gpu page shows empty |
799 // content. The switch is intended only for layout tests. | 796 // content. The switch is intended only for layout tests. |
800 // TODO(gab): Get rid of this switch entirely. | 797 // TODO(gab): Get rid of this switch entirely. |
801 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 798 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
802 | 799 |
803 // Specifies the request key for the continuous speech recognition webservice. | 800 // Specifies the request key for the continuous speech recognition webservice. |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 #endif | 986 #endif |
990 | 987 |
991 #if defined(OS_POSIX) | 988 #if defined(OS_POSIX) |
992 // Causes the child processes to cleanly exit via calling exit(). | 989 // Causes the child processes to cleanly exit via calling exit(). |
993 const char kChildCleanExit[] = "child-clean-exit"; | 990 const char kChildCleanExit[] = "child-clean-exit"; |
994 #endif | 991 #endif |
995 | 992 |
996 // Don't dump stuff here, follow the same order as the header. | 993 // Don't dump stuff here, follow the same order as the header. |
997 | 994 |
998 } // namespace switches | 995 } // namespace switches |
OLD | NEW |