bool enable_larger_than_screen_;
}
@property BOOL acceptsFirstMouse;
+@property BOOL disableAutoHideCursor;
- (void)setShell:(atom::NativeWindowMac*)shell;
- (void)setEnableLargerThanScreen:(bool)enable;
@end
options.Get(switches::kAcceptFirstMouse, &acceptsFirstMouse);
[window_ setAcceptsFirstMouse:acceptsFirstMouse];
+ // Disable auto-hiding cursor.
+ bool disableAutoHideCursor = false;
+ options.Get(switches::kDisableAutoHideCursor, &disableAutoHideCursor);
+ [window_ setDisableAutoHideCursor:disableAutoHideCursor];
+
// Disable fullscreen button when 'fullscreen' is specified to false.
bool fullscreen;
if (!(options.Get(switches::kFullscreen, &fullscreen) &&
// Window type hint.
const char kType[] = "type";
+// Disable auto-hiding cursor.
+const char kDisableAutoHideCursor[] = "disable-auto-hide-cursor";
+
// Web runtime features.
const char kExperimentalFeatures[] = "experimental-features";
const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
extern const char kPreloadScript[];
extern const char kTransparent[];
extern const char kType[];
+extern const char kDisableAutoHideCursor[];
extern const char kExperimentalFeatures[];
extern const char kExperimentalCanvasFeatures[];