From e22a8d0a49e05bccb79dce5c28b4a70630d32c15 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 15 May 2014 15:18:46 +0800 Subject: [PATCH] Add use-content-size switch. --- atom/common/options_switches.cc | 3 +++ atom/common/options_switches.h | 1 + 2 files changed, 4 insertions(+) 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 -- 2.43.0