| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 void addPlayedRange(double start, double end); | 348 void addPlayedRange(double start, double end); |
| 349 | 349 |
| 350 void scheduleTimeupdateEvent(bool periodicEvent); | 350 void scheduleTimeupdateEvent(bool periodicEvent); |
| 351 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. | 351 void scheduleEvent(const AtomicString& eventName); // FIXME: Rename to sched
uleNamedEvent for clarity. |
| 352 | 352 |
| 353 // loading | 353 // loading |
| 354 void prepareForLoad(); | 354 void prepareForLoad(); |
| 355 void loadInternal(); | 355 void loadInternal(); |
| 356 void selectMediaResource(); | 356 void selectMediaResource(); |
| 357 void loadResource(const KURL&, ContentType&, const String& keySystem); | 357 void loadResource(const KURL&, ContentType&, const String& keySystem); |
| 358 void startPlayerLoad(); |
| 358 void setPlayerPreload(); | 359 void setPlayerPreload(); |
| 359 void startDelayedLoad(); | 360 void startDelayedLoad(); |
| 360 blink::WebMediaPlayer::LoadType loadType() const; | 361 blink::WebMediaPlayer::LoadType loadType() const; |
| 361 void scheduleNextSourceChild(); | 362 void scheduleNextSourceChild(); |
| 362 void loadNextSourceChild(); | 363 void loadNextSourceChild(); |
| 363 void userCancelledLoad(); | 364 void userCancelledLoad(); |
| 364 void clearMediaPlayer(int flags); | 365 void clearMediaPlayer(int flags); |
| 365 void clearMediaPlayerAndAudioSourceProviderClient(); | 366 void clearMediaPlayerAndAudioSourceProviderClient(); |
| 366 bool havePotentialSourceChild(); | 367 bool havePotentialSourceChild(); |
| 367 void noneSupported(); | 368 void noneSupported(); |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 inline bool isHTMLMediaElement(const HTMLElement& element) | 553 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 553 { | 554 { |
| 554 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 555 } | 556 } |
| 556 | 557 |
| 557 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 558 | 559 |
| 559 } //namespace | 560 } //namespace |
| 560 | 561 |
| 561 #endif | 562 #endif |
| OLD | NEW |