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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 347 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
348 InsertionNotificationRequest insertedInto(ContainerNode*) final; | 348 InsertionNotificationRequest insertedInto(ContainerNode*) final; |
349 void didNotifySubtreeInsertionsToDocument() override; | 349 void didNotifySubtreeInsertionsToDocument() override; |
350 void removedFrom(ContainerNode*) final; | 350 void removedFrom(ContainerNode*) final; |
351 void didRecalcStyle() final; | 351 void didRecalcStyle() final; |
352 | 352 |
353 bool canStartSelection() const override { return false; } | 353 bool canStartSelection() const override { return false; } |
354 | 354 |
355 bool isInteractiveContent() const final; | 355 bool isInteractiveContent() const final; |
356 | 356 |
| 357 void defaultEventHandler(Event*) override; |
| 358 |
357 // SuspendableObject functions. | 359 // SuspendableObject functions. |
358 void contextDestroyed(ExecutionContext*) final; | 360 void contextDestroyed(ExecutionContext*) final; |
359 | 361 |
360 virtual void updateDisplayState() {} | 362 virtual void updateDisplayState() {} |
361 | 363 |
362 void setReadyState(ReadyState); | 364 void setReadyState(ReadyState); |
363 void setNetworkState(WebMediaPlayer::NetworkState); | 365 void setNetworkState(WebMediaPlayer::NetworkState); |
364 | 366 |
365 // WebMediaPlayerClient implementation. | 367 // WebMediaPlayerClient implementation. |
366 void networkStateChanged() final; | 368 void networkStateChanged() final; |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 | 754 |
753 inline bool isHTMLMediaElement(const HTMLElement& element) { | 755 inline bool isHTMLMediaElement(const HTMLElement& element) { |
754 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 756 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
755 } | 757 } |
756 | 758 |
757 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 759 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
758 | 760 |
759 } // namespace blink | 761 } // namespace blink |
760 | 762 |
761 #endif // HTMLMediaElement_h | 763 #endif // HTMLMediaElement_h |
OLD | NEW |