From: Cheng Zhao Date: Thu, 15 May 2014 07:18:46 +0000 (+0800) Subject: Add use-content-size switch. X-Git-Tag: v0.12.5~4^2~12 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e22a8d0a49e05bccb79dce5c28b4a70630d32c15;p=electron.git Add use-content-size switch. --- diff --git a/atom/common/options_switches.cc b/atom/common/options_switches.cc index 8466cd0e..270fc1f4 100644 --- a/atom/common/options_switches.cc +++ b/atom/common/options_switches.cc @@ -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 diff --git a/atom/common/options_switches.h b/atom/common/options_switches.h index cd6e6acf..8fa10568 100644 --- a/atom/common/options_switches.h +++ b/atom/common/options_switches.h @@ -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