| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 void setControllerInternal(PassRefPtrWillBeRawPtr<MediaController>); | 301 void setControllerInternal(PassRefPtrWillBeRawPtr<MediaController>); |
| 302 | 302 |
| 303 private: | 303 private: |
| 304 void createMediaPlayer(); | 304 void createMediaPlayer(); |
| 305 | 305 |
| 306 virtual bool alwaysCreateUserAgentShadowRoot() const override final { return
true; } | 306 virtual bool alwaysCreateUserAgentShadowRoot() const override final { return
true; } |
| 307 virtual bool areAuthorShadowsAllowed() const override final { return false;
} | 307 virtual bool areAuthorShadowsAllowed() const override final { return false;
} |
| 308 | 308 |
| 309 virtual bool supportsFocus() const override final; | 309 virtual bool supportsFocus() const override final; |
| 310 virtual bool isMouseFocusable() const override final; | 310 virtual bool isMouseFocusable() const override final; |
| 311 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; | |
| 312 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 311 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 313 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; | 312 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; |
| 314 virtual void didNotifySubtreeInsertionsToDocument() override; | 313 virtual void didNotifySubtreeInsertionsToDocument() override; |
| 315 virtual void removedFrom(ContainerNode*) override final; | 314 virtual void removedFrom(ContainerNode*) override final; |
| 316 virtual void didRecalcStyle(StyleRecalcChange) override final; | 315 virtual void didRecalcStyle(StyleRecalcChange) override final; |
| 317 | 316 |
| 318 virtual void didBecomeFullscreenElement() override final; | 317 virtual void didBecomeFullscreenElement() override final; |
| 319 virtual void willStopBeingFullscreenElement() override final; | 318 virtual void willStopBeingFullscreenElement() override final; |
| 320 virtual bool isInteractiveContent() const override final; | 319 virtual bool isInteractiveContent() const override final; |
| 321 virtual void defaultEventHandler(Event*) override final; | 320 virtual void defaultEventHandler(Event*) override final; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 inline bool isHTMLMediaElement(const HTMLElement& element) | 582 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 584 { | 583 { |
| 585 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 584 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 586 } | 585 } |
| 587 | 586 |
| 588 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 587 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 589 | 588 |
| 590 } // namespace blink | 589 } // namespace blink |
| 591 | 590 |
| 592 #endif // HTMLMediaElement_h | 591 #endif // HTMLMediaElement_h |
| OLD | NEW |