Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetectorTest.cpp

Issue 2780403004: Create core/html/media/ and move auxiliary media files in it. (Closed)
Patch Set: actually add autoplay files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698