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