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

Side by Side Diff: content/public/common/content_switches.cc

Issue 53153008: Remove webview-based behavior from --site-per-process flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial patch. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | no next file » | 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) 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
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
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
OLDNEW
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698