| Index: third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| index 2acd74091dbe21efb507d1f6d0448df2bc5ce418..2358c1da8085a30627ed63c952c682285f7a2867 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
|
| @@ -45,6 +45,14 @@ class MockVideoWebMediaPlayer : public EmptyWebMediaPlayer {
|
|
|
| class MockChromeClient : public EmptyChromeClient {
|
| public:
|
| + void fullscreenElementChanged(Element* fromElement,
|
| + Element* toElement) override {
|
| + if (isHTMLVideoElement(toElement))
|
| + toHTMLVideoElement(toElement)->didEnterFullscreen();
|
| + if (isHTMLVideoElement(fromElement))
|
| + toHTMLVideoElement(fromElement)->didExitFullscreen();
|
| + }
|
| +
|
| MOCK_CONST_METHOD0(screenInfo, WebScreenInfo());
|
| };
|
|
|
|
|