| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 virtual void stop() OVERRIDE FINAL; | 353 virtual void stop() OVERRIDE FINAL; |
| 354 | 354 |
| 355 virtual void updateDisplayState() { } | 355 virtual void updateDisplayState() { } |
| 356 | 356 |
| 357 void setReadyState(ReadyState); | 357 void setReadyState(ReadyState); |
| 358 void setNetworkState(blink::WebMediaPlayer::NetworkState); | 358 void setNetworkState(blink::WebMediaPlayer::NetworkState); |
| 359 | 359 |
| 360 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; | 360 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; |
| 361 virtual void mediaPlayerReadyStateChanged() OVERRIDE FINAL; | 361 virtual void mediaPlayerReadyStateChanged() OVERRIDE FINAL; |
| 362 virtual void mediaPlayerTimeChanged() OVERRIDE FINAL; | 362 virtual void mediaPlayerTimeChanged() OVERRIDE FINAL; |
| 363 virtual void mediaPlayerEnded() OVERRIDE FINAL; |
| 363 virtual void mediaPlayerDurationChanged() OVERRIDE FINAL; | 364 virtual void mediaPlayerDurationChanged() OVERRIDE FINAL; |
| 364 virtual void mediaPlayerPlaybackStateChanged() OVERRIDE FINAL; | 365 virtual void mediaPlayerPlaybackStateChanged() OVERRIDE FINAL; |
| 365 virtual void mediaPlayerRequestFullscreen() OVERRIDE FINAL; | 366 virtual void mediaPlayerRequestFullscreen() OVERRIDE FINAL; |
| 366 virtual void mediaPlayerRequestSeek(double) OVERRIDE FINAL; | 367 virtual void mediaPlayerRequestSeek(double) OVERRIDE FINAL; |
| 367 virtual void mediaPlayerRepaint() OVERRIDE FINAL; | 368 virtual void mediaPlayerRepaint() OVERRIDE FINAL; |
| 368 virtual void mediaPlayerSizeChanged() OVERRIDE FINAL; | 369 virtual void mediaPlayerSizeChanged() OVERRIDE FINAL; |
| 369 virtual void mediaPlayerSetWebLayer(blink::WebLayer*) OVERRIDE FINAL; | 370 virtual void mediaPlayerSetWebLayer(blink::WebLayer*) OVERRIDE FINAL; |
| 370 virtual void mediaPlayerMediaSourceOpened(blink::WebMediaSource*) OVERRIDE F
INAL; | 371 virtual void mediaPlayerMediaSourceOpened(blink::WebMediaSource*) OVERRIDE F
INAL; |
| 371 | 372 |
| 372 void loadTimerFired(Timer<HTMLMediaElement>*); | 373 void loadTimerFired(Timer<HTMLMediaElement>*); |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 inline bool isHTMLMediaElement(const HTMLElement& element) | 633 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 633 { | 634 { |
| 634 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 635 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 635 } | 636 } |
| 636 | 637 |
| 637 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 638 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 638 | 639 |
| 639 } // namespace blink | 640 } // namespace blink |
| 640 | 641 |
| 641 #endif // HTMLMediaElement_h | 642 #endif // HTMLMediaElement_h |
| OLD | NEW |