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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 1867053005: Improve HTMLMediaElement media track status logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // controls 167 // controls
168 bool shouldShowControls(const RecordMetricsBehavior = RecordMetricsBehavior: :DoNotRecord) const; 168 bool shouldShowControls(const RecordMetricsBehavior = RecordMetricsBehavior: :DoNotRecord) const;
169 double volume() const; 169 double volume() const;
170 void setVolume(double, ExceptionState&); 170 void setVolume(double, ExceptionState&);
171 bool muted() const; 171 bool muted() const;
172 void setMuted(bool); 172 void setMuted(bool);
173 173
174 void togglePlayState(); 174 void togglePlayState();
175 175
176 AudioTrackList& audioTracks(); 176 AudioTrackList& audioTracks();
177 void audioTrackChanged(); 177 void audioTrackChanged(WebMediaPlayer::TrackId, bool enabled);
178 178
179 VideoTrackList& videoTracks(); 179 VideoTrackList& videoTracks();
180 void selectedVideoTrackChanged(WebMediaPlayer::TrackId*); 180 void selectedVideoTrackChanged(WebMediaPlayer::TrackId*);
181 181
182 TextTrack* addTextTrack(const AtomicString& kind, const AtomicString& label, const AtomicString& language, ExceptionState&); 182 TextTrack* addTextTrack(const AtomicString& kind, const AtomicString& label, const AtomicString& language, ExceptionState&);
183 183
184 TextTrackList* textTracks(); 184 TextTrackList* textTracks();
185 CueTimeline& cueTimeline(); 185 CueTimeline& cueTimeline();
186 186
187 void addTextTrack(TextTrack*); 187 void addTextTrack(TextTrack*);
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 inline bool isHTMLMediaElement(const HTMLElement& element) 660 inline bool isHTMLMediaElement(const HTMLElement& element)
661 { 661 {
662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
663 } 663 }
664 664
665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
666 666
667 } // namespace blink 667 } // namespace blink
668 668
669 #endif // HTMLMediaElement_h 669 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698