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