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

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

Issue 1991953002: Implement a runtime headless mode for Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years 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 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 569
570 // Makes GPU sandbox failures fatal. 570 // Makes GPU sandbox failures fatal.
571 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; 571 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal";
572 572
573 // Causes the GPU process to display a dialog on launch. 573 // Causes the GPU process to display a dialog on launch.
574 const char kGpuStartupDialog[] = "gpu-startup-dialog"; 574 const char kGpuStartupDialog[] = "gpu-startup-dialog";
575 575
576 // Ignores certificate-related errors. 576 // Ignores certificate-related errors.
577 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 577 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
578 578
579 // Start the browser in headless mode (i.e., without a UI or display server
580 // dependencies). Also see remote-debugging-port.
581 const char kHeadless[] = "headless";
582
579 // Don't allow content to arbitrarily append to the back/forward list. 583 // Don't allow content to arbitrarily append to the back/forward list.
580 // The page must prcoess a user gesture before an entry can be added. 584 // The page must prcoess a user gesture before an entry can be added.
581 const char kHistoryEntryRequiresUserGesture[] = 585 const char kHistoryEntryRequiresUserGesture[] =
582 "history-entry-requires-user-gesture"; 586 "history-entry-requires-user-gesture";
583 587
584 // These mappings only apply to the host resolver. 588 // These mappings only apply to the host resolver.
585 const char kHostResolverRules[] = "host-resolver-rules"; 589 const char kHostResolverRules[] = "host-resolver-rules";
586 590
587 // Ignores GPU blacklist. 591 // Ignores GPU blacklist.
588 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 592 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 // the given directory. Used primarily to gather samples for IPC fuzzing. 1072 // the given directory. Used primarily to gather samples for IPC fuzzing.
1069 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1073 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1070 1074
1071 // Specifies the testcase used by the IPC fuzzer. 1075 // Specifies the testcase used by the IPC fuzzer.
1072 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1076 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1073 #endif 1077 #endif
1074 1078
1075 // Don't dump stuff here, follow the same order as the header. 1079 // Don't dump stuff here, follow the same order as the header.
1076 1080
1077 } // namespace switches 1081 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698