Browse Source

rename alwaysShowTitleTextInFullscreen to fullscreenWindowTitle

Shubham 7 years ago
parent
commit
a38f0f5f46

+ 1 - 1
atom/browser/native_window_mac.mm

@@ -950,7 +950,7 @@ NativeWindowMac::NativeWindowMac(
 
   options.Get(options::kZoomToPageWidth, &zoom_to_page_width_);
 
-  options.Get(options::kAlwaysShowTitleTextInFullscreen, &always_show_title_text_in_full_screen_);
+  options.Get(options::kFullscreenWindowTitle, &always_show_title_text_in_full_screen_);
 
   // Enable the NSView to accept first mouse event.
   bool acceptsFirstMouse = false;

+ 2 - 2
atom/common/options_switches.cc

@@ -49,8 +49,8 @@ const char kUseContentSize[] = "useContentSize";
 const char kZoomToPageWidth[] = "zoomToPageWidth";
 
 // Whether always show title text in full screen is enabled.
-const char kAlwaysShowTitleTextInFullscreen[] =
-"alwaysShowTitleTextInFullscreen";
+const char kFullscreenWindowTitle[] =
+"fullscreenWindowTitle";
 
 // The requested title bar style for the window
 const char kTitleBarStyle[] = "titleBarStyle";

+ 1 - 1
atom/common/options_switches.h

@@ -35,7 +35,7 @@ extern const char kAlwaysOnTop[];
 extern const char kAcceptFirstMouse[];
 extern const char kUseContentSize[];
 extern const char kZoomToPageWidth[];
-extern const char kAlwaysShowTitleTextInFullscreen[];
+extern const char kFullscreenWindowTitle[];
 extern const char kTitleBarStyle[];
 extern const char kTabbingIdentifier[];
 extern const char kAutoHideMenuBar[];