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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 void invalidateCachedTime(); | 396 void invalidateCachedTime(); |
397 void refreshCachedTime() const; | 397 void refreshCachedTime() const; |
398 | 398 |
399 bool hasMediaControls() const; | 399 bool hasMediaControls() const; |
400 bool createMediaControls(); | 400 bool createMediaControls(); |
401 void configureMediaControls(); | 401 void configureMediaControls(); |
402 | 402 |
403 void prepareMediaFragmentURI(); | 403 void prepareMediaFragmentURI(); |
404 void applyMediaFragmentURI(); | 404 void applyMediaFragmentURI(); |
405 | 405 |
406 virtual bool willRespondToMouseClickEvents() OVERRIDE FINAL; | |
407 virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL; | 406 virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL; |
408 virtual void defaultEventHandler(Event*) OVERRIDE FINAL; | |
409 | 407 |
410 void changeNetworkStateFromLoadingToIdle(); | 408 void changeNetworkStateFromLoadingToIdle(); |
411 | 409 |
412 const AtomicString& mediaGroup() const; | 410 const AtomicString& mediaGroup() const; |
413 void setMediaGroup(const AtomicString&); | 411 void setMediaGroup(const AtomicString&); |
414 void updateMediaController(); | 412 void updateMediaController(); |
415 bool isBlocked() const; | 413 bool isBlocked() const; |
416 bool isBlockedOnMediaController() const; | 414 bool isBlockedOnMediaController() const; |
417 bool isAutoplaying() const { return m_autoplaying; } | 415 bool isAutoplaying() const { return m_autoplaying; } |
418 | 416 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 inline bool isHTMLMediaElement(const HTMLElement& element) | 551 inline bool isHTMLMediaElement(const HTMLElement& element) |
554 { | 552 { |
555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 553 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
556 } | 554 } |
557 | 555 |
558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 556 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
559 | 557 |
560 } //namespace | 558 } //namespace |
561 | 559 |
562 #endif | 560 #endif |
OLD | NEW |