Index: src/views/mac/SkOSWindow_Mac.mm |
diff --git a/src/views/mac/SkOSWindow_Mac.mm b/src/views/mac/SkOSWindow_Mac.mm |
index b0f006a8847e12996632629cb7f310c7c8d9eb9f..2b11ffcbd38ef2dd3cf02ce9058f563b98e5631b 100644 |
--- a/src/views/mac/SkOSWindow_Mac.mm |
+++ b/src/views/mac/SkOSWindow_Mac.mm |
@@ -77,4 +77,18 @@ void SkOSWindow::present() { |
[(SkNSView*)fHWND present]; |
} |
+void SkOSWindow::closeWindow() { |
+ [[(SkNSView*)fHWND window] close]; |
+} |
+ |
+void SkOSWindow::setVsync(bool enable) { |
+ [(SkNSView*)fHWND setVSync:enable]; |
+} |
+ |
+bool SkOSWindow::makeFullscreen() { |
+ [(SkNSView*)fHWND enterFullScreenMode:[NSScreen mainScreen] withOptions:nil]; |
+ return true; |
+} |
+ |
+ |
#endif |