OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/html/MediaCustomControlsFullscreenDetector.h" | 5 #include "core/html/media/MediaCustomControlsFullscreenDetector.h" |
6 | 6 |
7 #include "core/EventTypeNames.h" | 7 #include "core/EventTypeNames.h" |
8 #include "core/html/HTMLVideoElement.h" | 8 #include "core/html/HTMLVideoElement.h" |
9 #include "core/testing/DummyPageHolder.h" | 9 #include "core/testing/DummyPageHolder.h" |
10 #include "platform/RuntimeEnabledFeatures.h" | 10 #include "platform/RuntimeEnabledFeatures.h" |
11 #include "platform/geometry/IntRect.h" | 11 #include "platform/geometry/IntRect.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 fullscreenDetectorFor(video))); | 177 fullscreenDetectorFor(video))); |
178 EXPECT_TRUE(checkEventListenerRegistered( | 178 EXPECT_TRUE(checkEventListenerRegistered( |
179 newDocument(), EventTypeNames::webkitfullscreenchange, | 179 newDocument(), EventTypeNames::webkitfullscreenchange, |
180 fullscreenDetectorFor(video))); | 180 fullscreenDetectorFor(video))); |
181 | 181 |
182 EXPECT_TRUE(checkEventListenerRegistered( | 182 EXPECT_TRUE(checkEventListenerRegistered( |
183 *video, EventTypeNames::loadedmetadata, fullscreenDetectorFor(video))); | 183 *video, EventTypeNames::loadedmetadata, fullscreenDetectorFor(video))); |
184 } | 184 } |
185 | 185 |
186 } // namespace blink | 186 } // namespace blink |
OLD | NEW |