| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 double duration() const; | 56 double duration() const; |
| 57 double currentTime() const; | 57 double currentTime() const; |
| 58 void setCurrentTime(double, ExceptionState&); | 58 void setCurrentTime(double, ExceptionState&); |
| 59 | 59 |
| 60 bool paused() const { return m_paused; } | 60 bool paused() const { return m_paused; } |
| 61 void play(); | 61 void play(); |
| 62 void pause(); | 62 void pause(); |
| 63 void unpause(); | 63 void unpause(); |
| 64 | 64 |
| 65 double defaultPlaybackRate() const { return m_defaultPlaybackRate; } | 65 double defaultPlaybackRate() const { return m_defaultPlaybackRate; } |
| 66 void setDefaultPlaybackRate(double, ExceptionState&); | 66 void setDefaultPlaybackRate(double); |
| 67 | 67 |
| 68 double playbackRate() const; | 68 double playbackRate() const; |
| 69 void setPlaybackRate(double, ExceptionState&); | 69 void setPlaybackRate(double); |
| 70 | 70 |
| 71 double volume() const { return m_volume; } | 71 double volume() const { return m_volume; } |
| 72 void setVolume(double, ExceptionState&); | 72 void setVolume(double, ExceptionState&); |
| 73 | 73 |
| 74 bool muted() const { return m_muted; } | 74 bool muted() const { return m_muted; } |
| 75 void setMuted(bool); | 75 void setMuted(bool); |
| 76 | 76 |
| 77 typedef HTMLMediaElement::ReadyState ReadyState; | 77 typedef HTMLMediaElement::ReadyState ReadyState; |
| 78 ReadyState readyState() const { return m_readyState; } | 78 ReadyState readyState() const { return m_readyState; } |
| 79 | 79 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 mutable Timer<MediaController> m_clearPositionTimer; | 117 mutable Timer<MediaController> m_clearPositionTimer; |
| 118 OwnPtr<Clock> m_clock; | 118 OwnPtr<Clock> m_clock; |
| 119 ExecutionContext* m_executionContext; | 119 ExecutionContext* m_executionContext; |
| 120 Timer<MediaController> m_timeupdateTimer; | 120 Timer<MediaController> m_timeupdateTimer; |
| 121 double m_previousTimeupdateTime; | 121 double m_previousTimeupdateTime; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace WebCore | 124 } // namespace WebCore |
| 125 | 125 |
| 126 #endif | 126 #endif |
| OLD | NEW |