@@ -232,7 +232,7 @@ - (void)windowWillExitFullScreen:(NSNotification*)notification {
232232}
233233
234234- (void )windowDidExitFullScreen : (NSNotification *)notification {
235- // For certain versions of OS X the fullscreen button will automatically show
235+ // For certain versions of macOS the fullscreen button will automatically show
236236 // after exiting fullscreen mode.
237237 if (!shell_->has_frame ()) {
238238 NSWindow * window = shell_->GetNativeWindow ();
@@ -537,7 +537,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
537537 [window_ setToolbar: toolbar];
538538 }
539539
540- // On OS X the initial window size doesn't include window frame.
540+ // On macOS the initial window size doesn't include window frame.
541541 bool use_content_size = false ;
542542 options.Get (options::kUseContentSize , &use_content_size);
543543 if (!has_frame () || !use_content_size)
@@ -1041,7 +1041,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
10411041 [[window_ standardWindowButton: NSWindowMiniaturizeButton] setHidden: YES ];
10421042 [[window_ standardWindowButton: NSWindowCloseButton] setHidden: YES ];
10431043
1044- // Some third-party OS X utilities check the zoom button's enabled state to
1044+ // Some third-party macOS utilities check the zoom button's enabled state to
10451045 // determine whether to show custom UI on hover, so we disable it here to
10461046 // prevent them from doing so in a frameless app window.
10471047 [[window_ standardWindowButton: NSWindowZoomButton] setEnabled: NO ];
@@ -1111,7 +1111,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
11111111 else
11121112 [window_ setStyleMask: [window_ styleMask ] & (~flag)];
11131113 // Change style mask will make the zoom button revert to default, probably
1114- // a bug of Cocoa or OS X .
1114+ // a bug of Cocoa or macOS .
11151115 if (!zoom_button_enabled)
11161116 SetMaximizable (false );
11171117}
@@ -1123,7 +1123,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
11231123 else
11241124 [window_ setCollectionBehavior: [window_ collectionBehavior ] & (~flag)];
11251125 // Change collectionBehavior will make the zoom button revert to default,
1126- // probably a bug of Cocoa or OS X .
1126+ // probably a bug of Cocoa or macOS .
11271127 if (!zoom_button_enabled)
11281128 SetMaximizable (false );
11291129}
0 commit comments