| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; | 307 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
| 308 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 308 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 309 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F
INAL; | 309 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F
INAL; |
| 310 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; | 310 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; |
| 311 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL; | 311 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL; |
| 312 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; | 312 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; |
| 313 | 313 |
| 314 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; | 314 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; |
| 315 virtual void willStopBeingFullscreenElement() OVERRIDE FINAL; | 315 virtual void willStopBeingFullscreenElement() OVERRIDE FINAL; |
| 316 virtual bool isInteractiveContent() const OVERRIDE FINAL; | 316 virtual bool isInteractiveContent() const OVERRIDE FINAL; |
| 317 virtual void defaultEventHandler(Event*) OVERRIDE FINAL; |
| 317 | 318 |
| 318 // ActiveDOMObject functions. | 319 // ActiveDOMObject functions. |
| 319 virtual void stop() OVERRIDE FINAL; | 320 virtual void stop() OVERRIDE FINAL; |
| 320 | 321 |
| 321 virtual void updateDisplayState() { } | 322 virtual void updateDisplayState() { } |
| 322 | 323 |
| 323 void setReadyState(MediaPlayer::ReadyState); | 324 void setReadyState(MediaPlayer::ReadyState); |
| 324 void setNetworkState(MediaPlayer::NetworkState); | 325 void setNetworkState(MediaPlayer::NetworkState); |
| 325 | 326 |
| 326 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; | 327 virtual void mediaPlayerNetworkStateChanged() OVERRIDE FINAL; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 inline bool isHTMLMediaElement(const HTMLElement& element) | 554 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 554 { | 555 { |
| 555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 556 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 556 } | 557 } |
| 557 | 558 |
| 558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 559 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 559 | 560 |
| 560 } //namespace | 561 } //namespace |
| 561 | 562 |
| 562 #endif | 563 #endif |
| OLD | NEW |