Merge pull request #4843 from jwheare/mac-swipe-events

OSX: Expose 3-finger swipe events in browser-window
This commit is contained in:
Cheng Zhao 2016-03-31 10:37:27 +09:00
commit 0e3737423b
7 changed files with 33 additions and 0 deletions

View file

@ -248,6 +248,10 @@ void Window::OnWindowScrollTouchEnd() {
Emit("scroll-touch-end");
}
void Window::OnWindowSwipe(const std::string& direction) {
Emit("swipe", direction);
}
void Window::OnWindowEnterHtmlFullScreen() {
Emit("enter-html-full-screen");
}