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

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

Issue 583203002: Remove HTMLMediaElement::isPlaying() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 void remoteRouteAvailabilityChanged(bool); 266 void remoteRouteAvailabilityChanged(bool);
267 void connectedToRemoteDevice(); 267 void connectedToRemoteDevice();
268 void disconnectedFromRemoteDevice(); 268 void disconnectedFromRemoteDevice();
269 269
270 MediaControls* mediaControls() const; 270 MediaControls* mediaControls() const;
271 271
272 void sourceWasRemoved(HTMLSourceElement*); 272 void sourceWasRemoved(HTMLSourceElement*);
273 void sourceWasAdded(HTMLSourceElement*); 273 void sourceWasAdded(HTMLSourceElement*);
274 274
275 bool isPlaying() const { return m_playing; }
276
277 // ActiveDOMObject functions. 275 // ActiveDOMObject functions.
278 virtual bool hasPendingActivity() const OVERRIDE FINAL; 276 virtual bool hasPendingActivity() const OVERRIDE FINAL;
279 virtual void contextDestroyed() OVERRIDE FINAL; 277 virtual void contextDestroyed() OVERRIDE FINAL;
280 278
281 #if ENABLE(WEB_AUDIO) 279 #if ENABLE(WEB_AUDIO)
282 AudioSourceProviderClient* audioSourceNode() { return m_audioSourceNode; } 280 AudioSourceProviderClient* audioSourceNode() { return m_audioSourceNode; }
283 void setAudioSourceNode(AudioSourceProviderClient*); 281 void setAudioSourceNode(AudioSourceProviderClient*);
284 282
285 AudioSourceProvider* audioSourceProvider(); 283 AudioSourceProvider* audioSourceProvider();
286 #endif 284 #endif
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 inline bool isHTMLMediaElement(const HTMLElement& element) 636 inline bool isHTMLMediaElement(const HTMLElement& element)
639 { 637 {
640 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 638 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
641 } 639 }
642 640
643 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 641 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
644 642
645 } // namespace blink 643 } // namespace blink
646 644
647 #endif // HTMLMediaElement_h 645 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698