forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 856303 - Paris binding for MouseScrollEvent, r=peterv
--HG-- extra : rebase_source : 26aec7e5472d213615918f20168e3fd2277b0591
- Loading branch information
Olli Pettay
authored and
Olli Pettay
committed
Apr 15, 2013
1 parent
190ea4a
commit 29a9aaf
Showing
6 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. | ||
*/ | ||
|
||
interface WindowProxy; | ||
|
||
interface MouseScrollEvent : MouseEvent | ||
{ | ||
const long HORIZONTAL_AXIS = 1; | ||
const long VERTICAL_AXIS = 2; | ||
|
||
readonly attribute long axis; | ||
|
||
[Throws] | ||
void initMouseScrollEvent(DOMString type, | ||
boolean canBubble, | ||
boolean cancelable, | ||
WindowProxy? view, | ||
long detail, | ||
long screenX, | ||
long screenY, | ||
long clientX, | ||
long clientY, | ||
boolean ctrlKey, | ||
boolean altKey, | ||
boolean shiftKey, | ||
boolean metaKey, | ||
unsigned short button, | ||
EventTarget? relatedTarget, | ||
long axis); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters