Rename up/down => begin/end
This commit is contained in:
parent
bd2252ea55
commit
d492ff45d5
5 changed files with 14 additions and 14 deletions
|
@ -227,12 +227,12 @@ void Window::OnWindowLeaveFullScreen() {
|
|||
Emit("leave-full-screen");
|
||||
}
|
||||
|
||||
void Window::OnWindowScrollTouchUp() {
|
||||
Emit("scroll-touch-up");
|
||||
void Window::OnWindowScrollTouchBegin() {
|
||||
Emit("scroll-touch-begin");
|
||||
}
|
||||
|
||||
void Window::OnWindowScrollTouchDown() {
|
||||
Emit("scroll-touch-down");
|
||||
void Window::OnWindowScrollTouchEnd() {
|
||||
Emit("scroll-touch-end");
|
||||
}
|
||||
|
||||
void Window::OnWindowEnterHtmlFullScreen() {
|
||||
|
|
|
@ -65,8 +65,8 @@ class Window : public mate::TrackableObject<Window>,
|
|||
void OnWindowResize() override;
|
||||
void OnWindowMove() override;
|
||||
void OnWindowMoved() override;
|
||||
void OnWindowScrollTouchUp() override;
|
||||
void OnWindowScrollTouchDown() override;
|
||||
void OnWindowScrollTouchBegin() override;
|
||||
void OnWindowScrollTouchEnd() override;
|
||||
void OnWindowEnterFullScreen() override;
|
||||
void OnWindowLeaveFullScreen() override;
|
||||
void OnWindowEnterHtmlFullScreen() override;
|
||||
|
|
|
@ -442,14 +442,14 @@ void NativeWindow::NotifyWindowEnterFullScreen() {
|
|||
OnWindowEnterFullScreen());
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowScrollTouchUp() {
|
||||
void NativeWindow::NotifyWindowScrollTouchBegin() {
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
|
||||
OnWindowScrollTouchUp());
|
||||
OnWindowScrollTouchBegin());
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowScrollTouchDown() {
|
||||
void NativeWindow::NotifyWindowScrollTouchEnd() {
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
|
||||
OnWindowScrollTouchDown());
|
||||
OnWindowScrollTouchEnd());
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowLeaveFullScreen() {
|
||||
|
|
|
@ -205,8 +205,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
void NotifyWindowMove();
|
||||
void NotifyWindowResize();
|
||||
void NotifyWindowMoved();
|
||||
void NotifyWindowScrollTouchUp();
|
||||
void NotifyWindowScrollTouchDown();
|
||||
void NotifyWindowScrollTouchBegin();
|
||||
void NotifyWindowScrollTouchEnd();
|
||||
void NotifyWindowEnterFullScreen();
|
||||
void NotifyWindowLeaveFullScreen();
|
||||
void NotifyWindowEnterHtmlFullScreen();
|
||||
|
|
|
@ -50,8 +50,8 @@ class NativeWindowObserver {
|
|||
virtual void OnWindowResize() {}
|
||||
virtual void OnWindowMove() {}
|
||||
virtual void OnWindowMoved() {}
|
||||
virtual void OnWindowScrollTouchUp() {}
|
||||
virtual void OnWindowScrollTouchDown() {}
|
||||
virtual void OnWindowScrollTouchBegin() {}
|
||||
virtual void OnWindowScrollTouchEnd() {}
|
||||
virtual void OnWindowEnterFullScreen() {}
|
||||
virtual void OnWindowLeaveFullScreen() {}
|
||||
virtual void OnWindowEnterHtmlFullScreen() {}
|
||||
|
|
Loading…
Reference in a new issue