]> khamidou — GitHub mirrors - electron.git/commitdiff
Add a new renderer switch to pass down the app model ID
authorPaul Betts <paul@paulbetts.org>
Thu, 9 Jul 2015 22:57:17 +0000 (15:57 -0700)
committerPaul Betts <paul@paulbetts.org>
Thu, 9 Jul 2015 23:37:11 +0000 (16:37 -0700)
atom/common/options_switches.cc
atom/common/options_switches.h

index 71469b9601b65ac979d08f32fd93c4f9ea04e05c..8f457116ec3a0eac23434d138e714d9f29ef1373 100644 (file)
@@ -107,6 +107,9 @@ const char kDisableHttpCache[] = "disable-http-cache";
 // Register schemes to standard.
 const char kRegisterStandardSchemes[] = "register-standard-schemes";
 
+// The browser process app model ID
+const char kAppUserModelId[] = "app-user-model-id";
+
 }  // namespace switches
 
 }  // namespace atom
index fc25208a60acf26df2ebe78b7a4958760e4fa5af..2dd48ee32a1af9a0e0b3c32f6cd866a2c1aea9e6 100644 (file)
@@ -58,6 +58,8 @@ extern const char kPageVisibility[];
 extern const char kDisableHttpCache[];
 extern const char kRegisterStandardSchemes[];
 
+extern const char kAppUserModelId[];
+
 }  // namespace switches
 
 }  // namespace atom