| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 static PassRefPtr<MediaControls> create(Document&); | 48 static PassRefPtr<MediaControls> create(Document&); |
| 49 | 49 |
| 50 virtual void setMediaController(MediaControllerInterface*); | 50 virtual void setMediaController(MediaControllerInterface*); |
| 51 | 51 |
| 52 void reset(); | 52 void reset(); |
| 53 | 53 |
| 54 void show(); | 54 void show(); |
| 55 void hide(); | 55 void hide(); |
| 56 | 56 |
| 57 void bufferingProgressed(); | |
| 58 virtual void playbackStarted(); | 57 virtual void playbackStarted(); |
| 59 void playbackProgressed(); | 58 void playbackProgressed(); |
| 60 virtual void playbackStopped(); | 59 virtual void playbackStopped(); |
| 61 | 60 |
| 62 void updateCurrentTimeDisplay(); | 61 void updateCurrentTimeDisplay(); |
| 63 | 62 |
| 64 void changedMute(); | 63 void changedMute(); |
| 65 void changedVolume(); | 64 void changedVolume(); |
| 66 | 65 |
| 67 void changedClosedCaptionsVisibility(); | 66 void changedClosedCaptionsVisibility(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 Timer<MediaControls> m_hideFullscreenControlsTimer; | 124 Timer<MediaControls> m_hideFullscreenControlsTimer; |
| 126 bool m_isFullscreen; | 125 bool m_isFullscreen; |
| 127 bool m_isMouseOverControls; | 126 bool m_isMouseOverControls; |
| 128 }; | 127 }; |
| 129 | 128 |
| 130 DEFINE_NODE_TYPE_CASTS(MediaControls, isMediaControls()); | 129 DEFINE_NODE_TYPE_CASTS(MediaControls, isMediaControls()); |
| 131 | 130 |
| 132 } | 131 } |
| 133 | 132 |
| 134 #endif | 133 #endif |
| OLD | NEW |