diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 1ec1e5bdc94f..273637dde0e2 100644 --- a/atom/browser/native_window_mac.mm +++ b/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; diff --git a/atom/common/options_switches.cc b/atom/common/options_switches.cc index 1ac320766393..f3629c93e913 100644 --- a/atom/common/options_switches.cc +++ b/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"; diff --git a/atom/common/options_switches.h b/atom/common/options_switches.h index 997eb02018d1..a1c467afabd6 100644 --- a/atom/common/options_switches.h +++ b/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[];