diff options
author | bsalomon <bsalomon@google.com> | 2015-06-18 11:49:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-18 11:49:42 -0700 |
commit | 241b56db1d5c9d058dc316ad33b397be50428c4c (patch) | |
tree | ab3f50079c0c2e7cbd8fbb8c4496af913593cd00 /include/views | |
parent | 274980cda1fbad2e8c61d268747070c7130c9de3 (diff) |
Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files.
Makes visualbench work on the Mac.
Review URL: https://codereview.chromium.org/1184143011
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkOSWindow_Mac.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/views/SkOSWindow_Mac.h b/include/views/SkOSWindow_Mac.h index 91d42bd855..e4c090abf3 100644 --- a/include/views/SkOSWindow_Mac.h +++ b/include/views/SkOSWindow_Mac.h @@ -30,10 +30,9 @@ public: bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*); void present(); - bool makeFullscreen() { return false; } - void closeWindow() { /* Not impl yet */ } - void setVsync(bool) { /* Not impl yet */ } - + bool makeFullscreen(); + void closeWindow(); + void setVsync(bool); protected: // overrides from SkEventSink virtual bool onEvent(const SkEvent& evt); |