options_switches.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. // Copyright (c) 2013 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_COMMON_OPTIONS_SWITCHES_H_
  5. #define ATOM_COMMON_OPTIONS_SWITCHES_H_
  6. namespace atom {
  7. namespace options {
  8. extern const char kTitle[];
  9. extern const char kIcon[];
  10. extern const char kFrame[];
  11. extern const char kShow[];
  12. extern const char kCenter[];
  13. extern const char kX[];
  14. extern const char kY[];
  15. extern const char kWidth[];
  16. extern const char kHeight[];
  17. extern const char kMinWidth[];
  18. extern const char kMinHeight[];
  19. extern const char kMaxWidth[];
  20. extern const char kMaxHeight[];
  21. extern const char kResizable[];
  22. extern const char kMovable[];
  23. extern const char kMinimizable[];
  24. extern const char kMaximizable[];
  25. extern const char kFullScreenable[];
  26. extern const char kClosable[];
  27. extern const char kFullscreen[];
  28. extern const char kSkipTaskbar[];
  29. extern const char kKiosk[];
  30. extern const char kSimpleFullScreen[];
  31. extern const char kAlwaysOnTop[];
  32. extern const char kAcceptFirstMouse[];
  33. extern const char kUseContentSize[];
  34. extern const char kZoomToPageWidth[];
  35. extern const char kFullscreenWindowTitle[];
  36. extern const char kTitleBarStyle[];
  37. extern const char kTabbingIdentifier[];
  38. extern const char kAutoHideMenuBar[];
  39. extern const char kEnableLargerThanScreen[];
  40. extern const char kDarkTheme[];
  41. extern const char kTransparent[];
  42. extern const char kType[];
  43. extern const char kDisableAutoHideCursor[];
  44. extern const char kStandardWindow[];
  45. extern const char kBackgroundColor[];
  46. extern const char kHasShadow[];
  47. extern const char kOpacity[];
  48. extern const char kFocusable[];
  49. extern const char kWebPreferences[];
  50. extern const char kVibrancyType[];
  51. // WebPreferences.
  52. extern const char kZoomFactor[];
  53. extern const char kPreloadScript[];
  54. extern const char kPreloadURL[];
  55. extern const char kNodeIntegration[];
  56. extern const char kContextIsolation[];
  57. extern const char kGuestInstanceID[];
  58. extern const char kExperimentalFeatures[];
  59. extern const char kExperimentalCanvasFeatures[];
  60. extern const char kOpenerID[];
  61. extern const char kScrollBounce[];
  62. extern const char kEnableBlinkFeatures[];
  63. extern const char kDisableBlinkFeatures[];
  64. extern const char kNodeIntegrationInWorker[];
  65. extern const char kWebviewTag[];
  66. extern const char kNativeWindowOpen[];
  67. extern const char kCustomArgs[];
  68. extern const char kPlugins[];
  69. extern const char kSandbox[];
  70. extern const char kWebSecurity[];
  71. extern const char kAllowRunningInsecureContent[];
  72. extern const char kOffscreen[];
  73. } // namespace options
  74. // Following are actually command line switches, should be moved to other files.
  75. namespace switches {
  76. extern const char kEnableSandbox[];
  77. extern const char kEnableMixedSandbox[];
  78. extern const char kEnablePlugins[];
  79. extern const char kPpapiFlashPath[];
  80. extern const char kPpapiFlashVersion[];
  81. extern const char kDisableHttpCache[];
  82. extern const char kStandardSchemes[];
  83. extern const char kRegisterServiceWorkerSchemes[];
  84. extern const char kSecureSchemes[];
  85. extern const char kAppUserModelId[];
  86. extern const char kAppPath[];
  87. extern const char kContextId[];
  88. extern const char kBackgroundColor[];
  89. extern const char kPreloadScript[];
  90. extern const char kPreloadURL[];
  91. extern const char kPreloadScripts[];
  92. extern const char kNodeIntegration[];
  93. extern const char kContextIsolation[];
  94. extern const char kGuestInstanceID[];
  95. extern const char kOpenerID[];
  96. extern const char kScrollBounce[];
  97. extern const char kHiddenPage[];
  98. extern const char kNativeWindowOpen[];
  99. extern const char kNodeIntegrationInWorker[];
  100. extern const char kWebviewTag[];
  101. extern const char kWidevineCdmPath[];
  102. extern const char kWidevineCdmVersion[];
  103. } // namespace switches
  104. } // namespace atom
  105. #endif // ATOM_COMMON_OPTIONS_SWITCHES_H_