OLD | NEW |
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; | 317 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; |
318 virtual void willStopBeingFullscreenElement() OVERRIDE FINAL; | 318 virtual void willStopBeingFullscreenElement() OVERRIDE FINAL; |
319 virtual bool isInteractiveContent() const OVERRIDE FINAL; | 319 virtual bool isInteractiveContent() const OVERRIDE FINAL; |
320 virtual void defaultEventHandler(Event*) OVERRIDE FINAL; | 320 virtual void defaultEventHandler(Event*) OVERRIDE FINAL; |
321 | 321 |
322 // ActiveDOMObject functions. | 322 // ActiveDOMObject functions. |
323 virtual void stop() OVERRIDE FINAL; | 323 virtual void stop() OVERRIDE FINAL; |
324 | 324 |
325 virtual void updateDisplayState() { } | 325 virtual void updateDisplayState() { } |
326 | 326 |
327 void setReadyState(MediaPlayer::ReadyState); | 327 void setReadyState(ReadyState); |
328 void setNetworkState(MediaPlayer::NetworkState); | 328 void setNetworkState(MediaPlayer::NetworkState); |
329 | 329 |
330 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; | 330 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; |
331 virtual void mediaPlayerReadyStateChanged() OVERRIDE FINAL; | 331 virtual void mediaPlayerReadyStateChanged() OVERRIDE FINAL; |
332 virtual void mediaPlayerTimeChanged() OVERRIDE FINAL; | 332 virtual void mediaPlayerTimeChanged() OVERRIDE FINAL; |
333 virtual void mediaPlayerDurationChanged() OVERRIDE FINAL; | 333 virtual void mediaPlayerDurationChanged() OVERRIDE FINAL; |
334 virtual void mediaPlayerPlaybackStateChanged() OVERRIDE FINAL; | 334 virtual void mediaPlayerPlaybackStateChanged() OVERRIDE FINAL; |
335 virtual void mediaPlayerRequestFullscreen() OVERRIDE FINAL; | 335 virtual void mediaPlayerRequestFullscreen() OVERRIDE FINAL; |
336 virtual void mediaPlayerRequestSeek(double) OVERRIDE FINAL; | 336 virtual void mediaPlayerRequestSeek(double) OVERRIDE FINAL; |
337 virtual void mediaPlayerRepaint() OVERRIDE FINAL; | 337 virtual void mediaPlayerRepaint() OVERRIDE FINAL; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 inline bool isHTMLMediaElement(const HTMLElement& element) | 559 inline bool isHTMLMediaElement(const HTMLElement& element) |
560 { | 560 { |
561 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 561 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
562 } | 562 } |
563 | 563 |
564 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 564 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
565 | 565 |
566 } //namespace | 566 } //namespace |
567 | 567 |
568 #endif | 568 #endif |
OLD | NEW |