mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Hololens - Trigger MediaSessionActions for play and pause buttons
This commit is contained in:
parent
d633c8b9da
commit
d5200ba453
11 changed files with 69 additions and 22 deletions
|
@ -88,6 +88,9 @@ public:
|
|||
capi::resize(mWindowWidth, mWindowHeight);
|
||||
}
|
||||
}
|
||||
void SendMediaSessionAction(int32_t action) {
|
||||
capi::media_session_action(action);
|
||||
}
|
||||
|
||||
private:
|
||||
ServoDelegate &mDelegate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue