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

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

Issue 1797363002: "Top Document Isolation" mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up tests. Necessary rebase to obtain browsertest util behavior change. Created 4 years, 8 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 // Upscale defaults to "best". 808 // Upscale defaults to "best".
809 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; 809 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality";
810 810
811 // Allows for forcing socket connections to http/https to use fixed ports. 811 // Allows for forcing socket connections to http/https to use fixed ports.
812 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 812 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
813 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 813 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
814 814
815 // Type of the current test harness ("browser" or "ui"). 815 // Type of the current test harness ("browser" or "ui").
816 const char kTestType[] = "test-type"; 816 const char kTestType[] = "test-type";
817 817
818 // Groups all out-of-process iframes to a different process from the process
819 // of the top document. This is a performance isolation mode.
820 const char kTopDocumentIsolation[] = "top-document-isolation";
821
818 // Controls how text selection granularity changes when touch text selection 822 // Controls how text selection granularity changes when touch text selection
819 // handles are dragged. Should be "character" or "direction". If not specified, 823 // handles are dragged. Should be "character" or "direction". If not specified,
820 // the platform default is used. 824 // the platform default is used.
821 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; 825 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy";
822 826
823 // Prioritizes the UI's command stream in the GPU process 827 // Prioritizes the UI's command stream in the GPU process
824 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; 828 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process";
825 829
826 // Bypass the media stream infobar by selecting the default device for media 830 // Bypass the media stream infobar by selecting the default device for media
827 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 831 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1048 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1045 1049
1046 // Enables the exporting of the tracing events to ETW. This is only supported on 1050 // Enables the exporting of the tracing events to ETW. This is only supported on
1047 // Windows Vista and later. 1051 // Windows Vista and later.
1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1052 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1049 #endif 1053 #endif
1050 1054
1051 // Don't dump stuff here, follow the same order as the header. 1055 // Don't dump stuff here, follow the same order as the header.
1052 1056
1053 } // namespace switches 1057 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698