refactor: convert C++ enums to C++11 enum classes (#18087)
This commit is contained in:
parent
a59dc56fa6
commit
c25c31e018
36 changed files with 199 additions and 204 deletions
|
@ -146,7 +146,7 @@ class NativeWindowMac : public NativeWindow {
|
|||
void SetStyleMask(bool on, NSUInteger flag);
|
||||
void SetCollectionBehavior(bool on, NSUInteger flag);
|
||||
|
||||
enum TitleBarStyle {
|
||||
enum class TitleBarStyle {
|
||||
NORMAL,
|
||||
HIDDEN,
|
||||
HIDDEN_INSET,
|
||||
|
@ -200,7 +200,7 @@ class NativeWindowMac : public NativeWindow {
|
|||
NSApplicationPresentationOptions kiosk_options_;
|
||||
|
||||
// The "titleBarStyle" option.
|
||||
TitleBarStyle title_bar_style_ = NORMAL;
|
||||
TitleBarStyle title_bar_style_ = TitleBarStyle::NORMAL;
|
||||
|
||||
// The visibility mode of window button controls when explicitly set through
|
||||
// setWindowButtonVisibility().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue