blob: 7b081cd9fd8a8a161c98b0bce2597c8a8ffd9df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// https://screen-share.github.io/mouse-events/
enum CaptureStartFocusBehavior {
"focus-captured-surface",
"no-focus-change"
};
[Exposed=Window, SecureContext]
interface CaptureController : EventTarget {
constructor();
undefined setFocusBehavior(CaptureStartFocusBehavior focusBehavior);
attribute EventHandler oncapturedmousechange;
};
[Exposed=Window]
interface CapturedMouseEvent : Event {
constructor(DOMString type, optional CapturedMouseEventInit eventInitDict = {});
readonly attribute long surfaceX;
readonly attribute long surfaceY;
};
dictionary CapturedMouseEventInit : EventInit {
long surfaceX = -1;
long surfaceY = -1;
};
|