Add support for zooming to content size

This commit is contained in:
Kevin Sawicki 2016-10-26 12:12:12 +09:00
parent 8bc3dcd17a
commit c5790e39dc
4 changed files with 57 additions and 0 deletions

View file

@ -45,6 +45,9 @@ const char kAcceptFirstMouse[] = "acceptFirstMouse";
// Whether window size should include window frame.
const char kUseContentSize[] = "useContentSize";
// Whether window zoom should be to content size.
const char kZoomToContentSize[] = "zoomToContentSize";
// The requested title bar style for the window
const char kTitleBarStyle[] = "titleBarStyle";

View file

@ -34,6 +34,7 @@ extern const char kKiosk[];
extern const char kAlwaysOnTop[];
extern const char kAcceptFirstMouse[];
extern const char kUseContentSize[];
extern const char kZoomToContentSize[];
extern const char kTitleBarStyle[];
extern const char kAutoHideMenuBar[];
extern const char kEnableLargerThanScreen[];