2015-12-01 08:21:15 +00:00
|
|
|
// Copyright (c) 2015 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2019-06-19 20:46:59 +00:00
|
|
|
#include "shell/common/electron_constants.h"
|
2015-12-01 08:21:15 +00:00
|
|
|
|
|
|
|
namespace electron {
|
|
|
|
|
2018-12-05 17:35:59 +00:00
|
|
|
const char kBrowserForward[] = "browser-forward";
|
|
|
|
const char kBrowserBackward[] = "browser-backward";
|
|
|
|
|
2022-11-22 21:50:32 +00:00
|
|
|
const char kDeviceVendorIdKey[] = "vendorId";
|
|
|
|
const char kDeviceProductIdKey[] = "productId";
|
|
|
|
const char kDeviceSerialNumberKey[] = "serialNumber";
|
|
|
|
|
2019-06-13 06:42:21 +00:00
|
|
|
const char kRunAsNode[] = "ELECTRON_RUN_AS_NODE";
|
|
|
|
|
2018-10-01 20:00:53 +00:00
|
|
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
2022-03-30 18:55:38 +00:00
|
|
|
const char kPDFExtensionPluginName[] = "Chromium PDF Viewer";
|
|
|
|
const char kPDFInternalPluginName[] = "Chromium PDF Plugin";
|
2020-02-13 00:39:12 +00:00
|
|
|
const base::FilePath::CharType kPdfPluginPath[] =
|
|
|
|
FILE_PATH_LITERAL("internal-pdf-viewer");
|
2018-10-01 20:00:53 +00:00
|
|
|
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
2017-01-23 13:20:30 +00:00
|
|
|
|
2015-12-01 08:21:15 +00:00
|
|
|
} // namespace electron
|