| Index: third_party/WebKit/Source/modules/vr/VRController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| index 6fa41fab826dc2cf022b6a5eba2f2ffe11daacca..2f28838814672d8de60d3ebfadc0e51b3b3a7483 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -205,6 +205,22 @@ void VRController::OnDisplayDisconnected(unsigned index) {
|
| vrDisplay, "disconnect"));
|
| }
|
|
|
| +void VRController::OnDisplayBlur(unsigned index) {
|
| + VRDisplay* vrDisplay = getDisplayForIndex(index);
|
| + if (!vrDisplay)
|
| + return;
|
| +
|
| + vrDisplay->onDisplayBlur();
|
| +}
|
| +
|
| +void VRController::OnDisplayFocus(unsigned index) {
|
| + VRDisplay* vrDisplay = getDisplayForIndex(index);
|
| + if (!vrDisplay)
|
| + return;
|
| +
|
| + vrDisplay->onDisplayFocus();
|
| +}
|
| +
|
| void VRController::contextDestroyed() {
|
| // If the document context was destroyed, shut down the client connection
|
| // and never call the mojo service again.
|
|
|