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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 | 495 |
496 // The last time a timeupdate event was sent (wall clock). | 496 // The last time a timeupdate event was sent (wall clock). |
497 double m_lastTimeUpdateEventWallTime; | 497 double m_lastTimeUpdateEventWallTime; |
498 | 498 |
499 // The last time a timeupdate event was sent in movie time. | 499 // The last time a timeupdate event was sent in movie time. |
500 float m_lastTimeUpdateEventMovieTime; | 500 float m_lastTimeUpdateEventMovieTime; |
501 | 501 |
502 // Loading state. | 502 // Loading state. |
503 enum LoadState { WaitingForSource, LoadingFromSrcAttr, LoadingFromSourceElem
ent }; | 503 enum LoadState { WaitingForSource, LoadingFromSrcAttr, LoadingFromSourceElem
ent }; |
504 LoadState m_loadState; | 504 LoadState m_loadState; |
505 HTMLSourceElement* m_currentSourceNode; | 505 RefPtr<HTMLSourceElement> m_currentSourceNode; |
506 Node* m_nextChildNodeToConsider; | 506 RefPtr<Node> m_nextChildNodeToConsider; |
507 Node* sourceChildEndOfListValue() { return static_cast<Node*>(this); } | |
508 | 507 |
509 OwnPtr<MediaPlayer> m_player; | 508 OwnPtr<MediaPlayer> m_player; |
510 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) | 509 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) |
511 RefPtr<Widget> m_proxyWidget; | 510 RefPtr<Widget> m_proxyWidget; |
512 #endif | 511 #endif |
513 | 512 |
514 BehaviorRestrictions m_restrictions; | 513 BehaviorRestrictions m_restrictions; |
515 | 514 |
516 MediaPlayer::Preload m_preload; | 515 MediaPlayer::Preload m_preload; |
517 | 516 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); | 615 return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id(
).utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); |
617 } | 616 } |
618 }; | 617 }; |
619 #endif | 618 #endif |
620 #endif | 619 #endif |
621 | 620 |
622 } //namespace | 621 } //namespace |
623 | 622 |
624 #endif | 623 #endif |
625 #endif | 624 #endif |
OLD | NEW |