OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 | 494 |
495 #if PLATFORM(MAC) | 495 #if PLATFORM(MAC) |
496 void updateDisableSleep(); | 496 void updateDisableSleep(); |
497 bool shouldDisableSleep() const; | 497 bool shouldDisableSleep() const; |
498 #endif | 498 #endif |
499 | 499 |
500 Timer<HTMLMediaElement> m_loadTimer; | 500 Timer<HTMLMediaElement> m_loadTimer; |
501 Timer<HTMLMediaElement> m_progressEventTimer; | 501 Timer<HTMLMediaElement> m_progressEventTimer; |
502 Timer<HTMLMediaElement> m_playbackProgressTimer; | 502 Timer<HTMLMediaElement> m_playbackProgressTimer; |
503 RefPtr<TimeRanges> m_playedTimeRanges; | 503 RefPtr<TimeRanges> m_playedTimeRanges; |
504 GenericEventQueue m_asyncEventQueue; | 504 OwnPtr<GenericEventQueue> m_asyncEventQueue; |
505 | 505 |
506 float m_playbackRate; | 506 float m_playbackRate; |
507 float m_defaultPlaybackRate; | 507 float m_defaultPlaybackRate; |
508 bool m_webkitPreservesPitch; | 508 bool m_webkitPreservesPitch; |
509 NetworkState m_networkState; | 509 NetworkState m_networkState; |
510 ReadyState m_readyState; | 510 ReadyState m_readyState; |
511 ReadyState m_readyStateMaximum; | 511 ReadyState m_readyStateMaximum; |
512 KURL m_currentSrc; | 512 KURL m_currentSrc; |
513 | 513 |
514 RefPtr<MediaError> m_error; | 514 RefPtr<MediaError> m_error; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); | 644 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); |
645 } | 645 } |
646 }; | 646 }; |
647 #endif | 647 #endif |
648 #endif | 648 #endif |
649 | 649 |
650 } //namespace | 650 } //namespace |
651 | 651 |
652 #endif | 652 #endif |
653 #endif | 653 #endif |
OLD | NEW |