OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 355 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
356 InsertionNotificationRequest insertedInto(ContainerNode*) final; | 356 InsertionNotificationRequest insertedInto(ContainerNode*) final; |
357 void didNotifySubtreeInsertionsToDocument() override; | 357 void didNotifySubtreeInsertionsToDocument() override; |
358 void removedFrom(ContainerNode*) final; | 358 void removedFrom(ContainerNode*) final; |
359 void didRecalcStyle() final; | 359 void didRecalcStyle() final; |
360 | 360 |
361 bool canStartSelection() const override { return false; } | 361 bool canStartSelection() const override { return false; } |
362 | 362 |
363 bool isInteractiveContent() const final; | 363 bool isInteractiveContent() const final; |
364 | 364 |
| 365 void defaultEventHandler(Event*) override; |
| 366 |
365 // SuspendableObject functions. | 367 // SuspendableObject functions. |
366 void contextDestroyed(ExecutionContext*) override; | 368 void contextDestroyed(ExecutionContext*) override; |
367 | 369 |
368 virtual void updateDisplayState() {} | 370 virtual void updateDisplayState() {} |
369 | 371 |
370 void setReadyState(ReadyState); | 372 void setReadyState(ReadyState); |
371 void setNetworkState(WebMediaPlayer::NetworkState); | 373 void setNetworkState(WebMediaPlayer::NetworkState); |
372 | 374 |
373 // WebMediaPlayerClient implementation. | 375 // WebMediaPlayerClient implementation. |
374 void networkStateChanged() final; | 376 void networkStateChanged() final; |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 | 763 |
762 inline bool isHTMLMediaElement(const HTMLElement& element) { | 764 inline bool isHTMLMediaElement(const HTMLElement& element) { |
763 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 765 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
764 } | 766 } |
765 | 767 |
766 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 768 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
767 | 769 |
768 } // namespace blink | 770 } // namespace blink |
769 | 771 |
770 #endif // HTMLMediaElement_h | 772 #endif // HTMLMediaElement_h |
OLD | NEW |