]> khamidou — GitHub mirrors - electron.git/commitdiff
Add "transparent" option
authorCheng Zhao <zcbenz@gmail.com>
Tue, 23 Dec 2014 01:48:54 +0000 (17:48 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 23 Dec 2014 01:48:54 +0000 (17:48 -0800)
atom/common/options_switches.cc
atom/common/options_switches.h

index 4bbc5e60751575bdc07550e0241da72af82c50d7..43107e3646236d589f0943e25f1cf03c8e9e69ad 100644 (file)
@@ -69,6 +69,9 @@ const char kGuestInstanceID[] = "guest-instance-id";
 // Script that will be loaded by guest WebContents before other scripts.
 const char kPreloadScript[] = "preload";
 
+// Whether the window should be transparent.
+const char kTransparent[] = "transparent";
+
 // Web runtime features.
 const char kExperimentalFeatures[]       = "experimental-features";
 const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
index a08983647ca1a1d340e14606fd4396d73394385e..cc55331be6f2e4eb78e37140874f3e5ace56004e 100644 (file)
@@ -39,6 +39,7 @@ extern const char kDirectWrite[];
 extern const char kEnablePlugins[];
 extern const char kGuestInstanceID[];
 extern const char kPreloadScript[];
+extern const char kTransparent[];
 
 extern const char kExperimentalFeatures[];
 extern const char kExperimentalCanvasFeatures[];