]> khamidou — GitHub mirrors - electron.git/commitdiff
Add use-content-size switch.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 15 May 2014 07:18:46 +0000 (15:18 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 15 May 2014 07:18:46 +0000 (15:18 +0800)
atom/common/options_switches.cc
atom/common/options_switches.h

index 8466cd0e53249a43992aaff854cb0bc095335f81..270fc1f4831536cf05c9878388b462b323638fa4 100644 (file)
@@ -36,6 +36,9 @@ const char kNodeIntegration[] = "node-integration";
 // Enable the NSView to accept first mouse event.
 const char kAcceptFirstMouse[] = "accept-first-mouse";
 
+// Whether window size should include window frame.
+const char kUseContentSize[] = "use-content-size";
+
 }  // namespace switches
 
 }  // namespace atom
index cd6e6acfec3621cf2c0d75f5f57ad33573e49980..8fa105684dc21a5a5897ed5f9bd0eab97be7f77a 100644 (file)
@@ -28,6 +28,7 @@ extern const char kKiosk[];
 extern const char kAlwaysOnTop[];
 extern const char kNodeIntegration[];
 extern const char kAcceptFirstMouse[];
+extern const char kUseContentSize[];
 
 }  // namespace switches