width,
height);
- bool useFrame = true;
- options.Get(switches::kFrame, &useFrame);
+ bool useStandardWindow = false;
+ options.Get(switches::kStandardWindow, &useStandardWindow);
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
NSMiniaturizableWindowMask | NSResizableWindowMask;
- if (!useFrame) {
+ if (!useStandardWindow) {
styleMask |= NSTexturedBackgroundWindowMask;
}
// Disable auto-hiding cursor.
const char kDisableAutoHideCursor[] = "disable-auto-hide-cursor";
+// Use the OS X's standard window instead of the textured window.
+const char kStandardWindow[] = "standard-window";
+
// Web runtime features.
const char kExperimentalFeatures[] = "experimental-features";
const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
extern const char kTransparent[];
extern const char kType[];
extern const char kDisableAutoHideCursor[];
+extern const char kStandardWindow[];
extern const char kExperimentalFeatures[];
extern const char kExperimentalCanvasFeatures[];