| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void refreshClosedCaptionsButtonVisibility(); | 61 void refreshClosedCaptionsButtonVisibility(); |
| 62 void closedCaptionTracksChanged(); | 62 void closedCaptionTracksChanged(); |
| 63 | 63 |
| 64 void enteredFullscreen(); | 64 void enteredFullscreen(); |
| 65 void exitedFullscreen(); | 65 void exitedFullscreen(); |
| 66 | 66 |
| 67 void updateTextTrackDisplay(); | 67 void updateTextTrackDisplay(); |
| 68 | 68 |
| 69 void mediaElementFocused(); | 69 void mediaElementFocused(); |
| 70 | 70 |
| 71 bool fullscreenIsSupported(); |
| 72 |
| 71 virtual void trace(Visitor*) OVERRIDE; | 73 virtual void trace(Visitor*) OVERRIDE; |
| 72 | 74 |
| 73 private: | 75 private: |
| 74 explicit MediaControls(HTMLMediaElement&); | 76 explicit MediaControls(HTMLMediaElement&); |
| 75 | 77 |
| 76 bool initializeControls(); | 78 bool initializeControls(); |
| 77 | 79 |
| 78 void makeOpaque(); | 80 void makeOpaque(); |
| 79 void makeTransparent(); | 81 void makeTransparent(); |
| 80 | 82 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 Timer<MediaControls> m_hideMediaControlsTimer; | 129 Timer<MediaControls> m_hideMediaControlsTimer; |
| 128 bool m_isMouseOverControls : 1; | 130 bool m_isMouseOverControls : 1; |
| 129 bool m_isPausedForScrubbing : 1; | 131 bool m_isPausedForScrubbing : 1; |
| 130 }; | 132 }; |
| 131 | 133 |
| 132 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 134 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 133 | 135 |
| 134 } | 136 } |
| 135 | 137 |
| 136 #endif | 138 #endif |
| OLD | NEW |