| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 | 328 |
| 329 private: | 329 private: |
| 330 void createMediaPlayer(); | 330 void createMediaPlayer(); |
| 331 | 331 |
| 332 virtual bool alwaysCreateUserAgentShadowRoot() const override final { return
true; } | 332 virtual bool alwaysCreateUserAgentShadowRoot() const override final { return
true; } |
| 333 virtual bool areAuthorShadowsAllowed() const override final { return false;
} | 333 virtual bool areAuthorShadowsAllowed() const override final { return false;
} |
| 334 | 334 |
| 335 virtual bool supportsFocus() const override final; | 335 virtual bool supportsFocus() const override final; |
| 336 virtual bool isMouseFocusable() const override final; | 336 virtual bool isMouseFocusable() const override final; |
| 337 virtual bool rendererIsNeeded(const RenderStyle&) override; | 337 virtual bool rendererIsNeeded(const RenderStyle&) override; |
| 338 virtual RenderObject* createRenderer(RenderStyle*) override; | 338 virtual RenderObject* createRenderer(const RenderStyle*) override; |
| 339 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; | 339 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; |
| 340 virtual void didNotifySubtreeInsertionsToDocument() override; | 340 virtual void didNotifySubtreeInsertionsToDocument() override; |
| 341 virtual void removedFrom(ContainerNode*) override final; | 341 virtual void removedFrom(ContainerNode*) override final; |
| 342 virtual void didRecalcStyle(StyleRecalcChange) override final; | 342 virtual void didRecalcStyle(StyleRecalcChange) override final; |
| 343 | 343 |
| 344 virtual void didBecomeFullscreenElement() override final; | 344 virtual void didBecomeFullscreenElement() override final; |
| 345 virtual void willStopBeingFullscreenElement() override final; | 345 virtual void willStopBeingFullscreenElement() override final; |
| 346 virtual bool isInteractiveContent() const override final; | 346 virtual bool isInteractiveContent() const override final; |
| 347 virtual void defaultEventHandler(Event*) override final; | 347 virtual void defaultEventHandler(Event*) override final; |
| 348 | 348 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 inline bool isHTMLMediaElement(const HTMLElement& element) | 628 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 629 { | 629 { |
| 630 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 630 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 631 } | 631 } |
| 632 | 632 |
| 633 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 633 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 634 | 634 |
| 635 } // namespace blink | 635 } // namespace blink |
| 636 | 636 |
| 637 #endif // HTMLMediaElement_h | 637 #endif // HTMLMediaElement_h |
| OLD | NEW |