| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 void scheduleTimeupdateEvent(bool periodicEvent); | 388 void scheduleTimeupdateEvent(bool periodicEvent); |
| 389 void scheduleEvent(const AtomicString& eventName); | 389 void scheduleEvent(const AtomicString& eventName); |
| 390 | 390 |
| 391 // loading | 391 // loading |
| 392 void selectMediaResource(); | 392 void selectMediaResource(); |
| 393 void loadResource(const KURL&, ContentType&, const String& keySystem); | 393 void loadResource(const KURL&, ContentType&, const String& keySystem); |
| 394 void scheduleNextSourceChild(); | 394 void scheduleNextSourceChild(); |
| 395 void loadNextSourceChild(); | 395 void loadNextSourceChild(); |
| 396 void userCancelledLoad(); | 396 void userCancelledLoad(); |
| 397 void clearMediaPlayer(int flags); | 397 void clearMediaPlayer(int flags); |
| 398 void clearMediaPlayerAndAudioSourceProviderClient(); |
| 398 bool havePotentialSourceChild(); | 399 bool havePotentialSourceChild(); |
| 399 void noneSupported(); | 400 void noneSupported(); |
| 400 void mediaEngineError(PassRefPtr<MediaError> err); | 401 void mediaEngineError(PassRefPtr<MediaError> err); |
| 401 void cancelPendingEventsAndCallbacks(); | 402 void cancelPendingEventsAndCallbacks(); |
| 402 void waitForSourceChange(); | 403 void waitForSourceChange(); |
| 403 void prepareToPlay(); | 404 void prepareToPlay(); |
| 404 | 405 |
| 405 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction
); | 406 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction
); |
| 406 | 407 |
| 407 void mediaLoadingFailed(MediaPlayer::NetworkState); | 408 void mediaLoadingFailed(MediaPlayer::NetworkState); |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 inline bool isHTMLMediaElement(const Node& node) | 596 inline bool isHTMLMediaElement(const Node& node) |
| 596 { | 597 { |
| 597 return node.isElementNode() && toElement(node).isMediaElement(); | 598 return node.isElementNode() && toElement(node).isMediaElement(); |
| 598 } | 599 } |
| 599 | 600 |
| 600 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 601 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 601 | 602 |
| 602 } //namespace | 603 } //namespace |
| 603 | 604 |
| 604 #endif | 605 #endif |
| OLD | NEW |