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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 | 336 |
337 virtual bool supportsFocus() const override final; | 337 virtual bool supportsFocus() const override final; |
338 virtual bool isMouseFocusable() const override final; | 338 virtual bool isMouseFocusable() const override final; |
339 virtual bool rendererIsNeeded(const RenderStyle&) override; | 339 virtual bool rendererIsNeeded(const RenderStyle&) override; |
340 virtual RenderObject* createRenderer(RenderStyle*) override; | 340 virtual RenderObject* createRenderer(RenderStyle*) override; |
341 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; | 341 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f
inal; |
342 virtual void didNotifySubtreeInsertionsToDocument() override; | 342 virtual void didNotifySubtreeInsertionsToDocument() override; |
343 virtual void removedFrom(ContainerNode*) override final; | 343 virtual void removedFrom(ContainerNode*) override final; |
344 virtual void didRecalcStyle(StyleRecalcChange) override final; | 344 virtual void didRecalcStyle(StyleRecalcChange) override final; |
345 | 345 |
| 346 virtual bool canStartSelection() const override { return false; } |
| 347 |
346 virtual void didBecomeFullscreenElement() override final; | 348 virtual void didBecomeFullscreenElement() override final; |
347 virtual void willStopBeingFullscreenElement() override final; | 349 virtual void willStopBeingFullscreenElement() override final; |
348 virtual bool isInteractiveContent() const override final; | 350 virtual bool isInteractiveContent() const override final; |
349 virtual void defaultEventHandler(Event*) override final; | 351 virtual void defaultEventHandler(Event*) override final; |
350 | 352 |
351 // ActiveDOMObject functions. | 353 // ActiveDOMObject functions. |
352 virtual void stop() override final; | 354 virtual void stop() override final; |
353 | 355 |
354 virtual void updateDisplayState() { } | 356 virtual void updateDisplayState() { } |
355 | 357 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 inline bool isHTMLMediaElement(const HTMLElement& element) | 632 inline bool isHTMLMediaElement(const HTMLElement& element) |
631 { | 633 { |
632 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 634 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
633 } | 635 } |
634 | 636 |
635 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 637 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
636 | 638 |
637 } // namespace blink | 639 } // namespace blink |
638 | 640 |
639 #endif // HTMLMediaElement_h | 641 #endif // HTMLMediaElement_h |
OLD | NEW |