2013-02-07 20:59:40 +01:00
|
|
|
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
2012-04-03 03:34:16 +02:00
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/shared/common/client_switches.h"
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
namespace client::switches {
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2013-02-07 20:59:40 +01:00
|
|
|
// CEF and Chromium support a wide range of command-line switches. This file
|
|
|
|
// only contains command-line switches specific to the cefclient application.
|
|
|
|
// View CEF/Chromium documentation or search for *_switches.cc files in the
|
|
|
|
// Chromium source code to identify other existing command-line switches.
|
|
|
|
// Below is a partial listing of relevant *_switches.cc files:
|
|
|
|
// base/base_switches.cc
|
|
|
|
// cef/libcef/common/cef_switches.cc
|
|
|
|
// chrome/common/chrome_switches.cc (not all apply)
|
|
|
|
// content/public/common/content_switches.cc
|
2012-06-26 18:47:05 +02:00
|
|
|
|
2012-04-03 03:34:16 +02:00
|
|
|
const char kMultiThreadedMessageLoop[] = "multi-threaded-message-loop";
|
2016-05-04 20:00:03 +02:00
|
|
|
const char kExternalMessagePump[] = "external-message-pump";
|
2012-04-03 03:34:16 +02:00
|
|
|
const char kCachePath[] = "cache-path";
|
2013-02-07 20:59:40 +01:00
|
|
|
const char kUrl[] = "url";
|
2014-07-01 00:30:29 +02:00
|
|
|
const char kOffScreenRenderingEnabled[] = "off-screen-rendering-enabled";
|
|
|
|
const char kOffScreenFrameRate[] = "off-screen-frame-rate";
|
|
|
|
const char kTransparentPaintingEnabled[] = "transparent-painting-enabled";
|
2014-12-02 12:23:57 +01:00
|
|
|
const char kShowUpdateRect[] = "show-update-rect";
|
2018-09-26 13:25:58 +02:00
|
|
|
const char kSharedTextureEnabled[] = "shared-texture-enabled";
|
|
|
|
const char kExternalBeginFrameEnabled[] = "external-begin-frame-enabled";
|
2013-04-05 19:05:37 +02:00
|
|
|
const char kMouseCursorChangeDisabled[] = "mouse-cursor-change-disabled";
|
2020-06-13 02:54:08 +02:00
|
|
|
const char kOffline[] = "offline";
|
2023-03-07 00:21:57 +01:00
|
|
|
const char kFilterChromeCommands[] = "filter-chrome-commands";
|
2015-02-14 00:17:08 +01:00
|
|
|
const char kRequestContextPerBrowser[] = "request-context-per-browser";
|
2016-01-12 01:19:51 +01:00
|
|
|
const char kRequestContextSharedCache[] = "request-context-shared-cache";
|
2015-04-09 16:59:34 +02:00
|
|
|
const char kBackgroundColor[] = "background-color";
|
2015-08-18 00:14:59 +02:00
|
|
|
const char kEnableGPU[] = "enable-gpu";
|
2015-12-05 03:58:56 +01:00
|
|
|
const char kFilterURL[] = "filter-url";
|
2016-01-19 21:09:01 +01:00
|
|
|
const char kUseViews[] = "use-views";
|
2022-04-08 22:48:56 +02:00
|
|
|
const char kUseNative[] = "use-native";
|
2016-01-19 21:09:01 +01:00
|
|
|
const char kHideFrame[] = "hide-frame";
|
|
|
|
const char kHideControls[] = "hide-controls";
|
2021-08-28 03:55:15 +02:00
|
|
|
const char kHideOverlays[] = "hide-overlays";
|
2018-02-28 05:47:36 +01:00
|
|
|
const char kAlwaysOnTop[] = "always-on-top";
|
2017-02-22 19:05:27 +01:00
|
|
|
const char kHideTopMenu[] = "hide-top-menu";
|
2016-10-27 19:57:12 +02:00
|
|
|
const char kSslClientCertificate[] = "ssl-client-certificate";
|
2017-07-11 21:02:44 +02:00
|
|
|
const char kCRLSetsPath[] = "crl-sets-path";
|
2019-02-07 22:36:31 +01:00
|
|
|
const char kNoActivate[] = "no-activate";
|
2021-04-11 22:10:11 +02:00
|
|
|
const char kShowChromeToolbar[] = "show-chrome-toolbar";
|
2021-09-07 16:04:55 +02:00
|
|
|
const char kInitialShowState[] = "initial-show-state";
|
2022-04-11 22:54:33 +02:00
|
|
|
const char kUseDefaultPopup[] = "use-default-popup";
|
2022-04-15 21:55:23 +02:00
|
|
|
const char kUseClientDialogs[] = "use-client-dialogs";
|
2022-07-31 01:53:48 +02:00
|
|
|
const char kUseTestHttpServer[] = "use-test-http-server";
|
2023-02-28 19:34:12 +01:00
|
|
|
const char kShowWindowButtons[] = "show-window-buttons";
|
2023-06-14 10:20:02 +02:00
|
|
|
const char kUseWindowModalDialog[] = "use-window-modal-dialog";
|
2023-06-30 14:17:02 +02:00
|
|
|
const char kUseBottomControls[] = "use-bottom-controls";
|
2023-09-07 19:28:27 +02:00
|
|
|
const char kHidePipFrame[] = "hide-pip-frame";
|
2023-10-05 01:46:45 +02:00
|
|
|
const char kHideChromeBubbles[] = "hide-chrome-bubbles";
|
2024-01-29 19:38:25 +01:00
|
|
|
const char kHideWindowOnClose[] = "hide-window-on-close";
|
2024-04-12 17:49:31 +02:00
|
|
|
const char kAcceptsFirstMouse[] = "accepts-first-mouse";
|
2024-04-17 18:01:26 +02:00
|
|
|
const char kUseAlloyStyle[] = "use-alloy-style";
|
|
|
|
const char kUseChromeStyleWindow[] = "use-chrome-style-window";
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
} // namespace client::switches
|