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

Side by Side Diff: third_party/WebKit/Source/core/html/media/HTMLMediaElementControlsList.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/HTMLMediaElementControlsList.h" 5 #include "core/html/media/HTMLMediaElementControlsList.h"
6 6
7 #include "core/html/HTMLMediaElement.h" 7 #include "core/html/HTMLMediaElement.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 namespace { 11 namespace {
12 12
13 const char kNoDownload[] = "nodownload"; 13 const char kNoDownload[] = "nodownload";
14 const char kNoFullscreen[] = "nofullscreen"; 14 const char kNoFullscreen[] = "nofullscreen";
15 const char kNoRemotePlayback[] = "noremoteplayback"; 15 const char kNoRemotePlayback[] = "noremoteplayback";
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 bool HTMLMediaElementControlsList::shouldHideFullscreen() const { 52 bool HTMLMediaElementControlsList::shouldHideFullscreen() const {
53 return tokens().contains(kNoFullscreen); 53 return tokens().contains(kNoFullscreen);
54 } 54 }
55 55
56 bool HTMLMediaElementControlsList::shouldHideRemotePlayback() const { 56 bool HTMLMediaElementControlsList::shouldHideRemotePlayback() const {
57 return tokens().contains(kNoRemotePlayback); 57 return tokens().contains(kNoRemotePlayback);
58 } 58 }
59 59
60 } // namespace blink 60 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698