| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 void createMediaPlayer(); | 202 void createMediaPlayer(); |
| 203 | 203 |
| 204 virtual bool isMouseFocusable() const override final; | 204 virtual bool isMouseFocusable() const override final; |
| 205 virtual bool rendererIsNeeded(const RenderStyle&) override; | 205 virtual bool rendererIsNeeded(const RenderStyle&) override; |
| 206 virtual RenderObject* createRenderer(RenderStyle*) override; | 206 virtual RenderObject* createRenderer(RenderStyle*) override; |
| 207 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; | 207 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; |
| 208 virtual void didNotifySubtreeInsertionsToDocument() override; | 208 virtual void didNotifySubtreeInsertionsToDocument() override; |
| 209 virtual void removedFrom(ContainerNode*) override final; | 209 virtual void removedFrom(ContainerNode*) override final; |
| 210 virtual void didRecalcStyle(StyleRecalcChange) override final; | 210 virtual void didRecalcStyle(StyleRecalcChange) override final; |
| 211 | 211 |
| 212 virtual bool isInteractiveContent() const override final; | |
| 213 virtual void defaultEventHandler(Event*) override final; | 212 virtual void defaultEventHandler(Event*) override final; |
| 214 | 213 |
| 215 // ActiveDOMObject functions. | 214 // ActiveDOMObject functions. |
| 216 virtual void stop() override final; | 215 virtual void stop() override final; |
| 217 | 216 |
| 218 virtual void updateDisplayState() { } | 217 virtual void updateDisplayState() { } |
| 219 | 218 |
| 220 void setReadyState(ReadyState); | 219 void setReadyState(ReadyState); |
| 221 void setNetworkState(blink::WebMediaPlayer::NetworkState); | 220 void setNetworkState(blink::WebMediaPlayer::NetworkState); |
| 222 | 221 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 inline bool isHTMLMediaElement(const HTMLElement& element) | 436 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 438 { | 437 { |
| 439 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 438 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 440 } | 439 } |
| 441 | 440 |
| 442 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 441 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 443 | 442 |
| 444 } // namespace blink | 443 } // namespace blink |
| 445 | 444 |
| 446 #endif // HTMLMediaElement_h | 445 #endif // HTMLMediaElement_h |
| OLD | NEW |