| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 285 |
| 286 bool alwaysCreateUserAgentShadowRoot() const final { return true; } | 286 bool alwaysCreateUserAgentShadowRoot() const final { return true; } |
| 287 bool areAuthorShadowsAllowed() const final { return false; } | 287 bool areAuthorShadowsAllowed() const final { return false; } |
| 288 | 288 |
| 289 bool supportsFocus() const final; | 289 bool supportsFocus() const final; |
| 290 bool isMouseFocusable() const final; | 290 bool isMouseFocusable() const final; |
| 291 bool layoutObjectIsNeeded(const ComputedStyle&) override; | 291 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
| 292 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 292 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 293 InsertionNotificationRequest insertedInto(ContainerNode*) final; | 293 InsertionNotificationRequest insertedInto(ContainerNode*) final; |
| 294 void didNotifySubtreeInsertionsToDocument() override; | 294 void didNotifySubtreeInsertionsToDocument() override; |
| 295 void removedFrom(ContainerNode*) final; | 295 void removedFrom(ContainerNode*, Node*) final; |
| 296 void didRecalcStyle(StyleRecalcChange) final; | 296 void didRecalcStyle(StyleRecalcChange) final; |
| 297 | 297 |
| 298 bool canStartSelection() const override { return false; } | 298 bool canStartSelection() const override { return false; } |
| 299 | 299 |
| 300 void didBecomeFullscreenElement() final; | 300 void didBecomeFullscreenElement() final; |
| 301 void willStopBeingFullscreenElement() final; | 301 void willStopBeingFullscreenElement() final; |
| 302 bool isInteractiveContent() const final; | 302 bool isInteractiveContent() const final; |
| 303 void defaultEventHandler(Event*) final; | 303 void defaultEventHandler(Event*) final; |
| 304 | 304 |
| 305 // ActiveDOMObject functions. | 305 // ActiveDOMObject functions. |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 inline bool isHTMLMediaElement(const HTMLElement& element) | 631 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 632 { | 632 { |
| 633 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 633 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 634 } | 634 } |
| 635 | 635 |
| 636 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 636 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 637 | 637 |
| 638 } // namespace blink | 638 } // namespace blink |
| 639 | 639 |
| 640 #endif // HTMLMediaElement_h | 640 #endif // HTMLMediaElement_h |
| OLD | NEW |