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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 void startedCasting(); | 65 void startedCasting(); |
66 void stoppedCasting(); | 66 void stoppedCasting(); |
67 void refreshCastButtonVisibility(); | 67 void refreshCastButtonVisibility(); |
68 void showOverlayCastButton(); | 68 void showOverlayCastButton(); |
69 | 69 |
70 void updateTextTrackDisplay(); | 70 void updateTextTrackDisplay(); |
71 | 71 |
72 void mediaElementFocused(); | 72 void mediaElementFocused(); |
73 | 73 |
74 virtual void trace(Visitor*) override; | 74 DECLARE_VIRTUAL_TRACE(); |
75 | 75 |
76 private: | 76 private: |
77 explicit MediaControls(HTMLMediaElement&); | 77 explicit MediaControls(HTMLMediaElement&); |
78 | 78 |
79 void initializeControls(); | 79 void initializeControls(); |
80 | 80 |
81 void makeOpaque(); | 81 void makeOpaque(); |
82 void makeTransparent(); | 82 void makeTransparent(); |
83 | 83 |
84 void updatePlayState(); | 84 void updatePlayState(); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 unsigned m_hideTimerBehaviorFlags; | 137 unsigned m_hideTimerBehaviorFlags; |
138 bool m_isMouseOverControls : 1; | 138 bool m_isMouseOverControls : 1; |
139 bool m_isPausedForScrubbing : 1; | 139 bool m_isPausedForScrubbing : 1; |
140 }; | 140 }; |
141 | 141 |
142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
143 | 143 |
144 } | 144 } |
145 | 145 |
146 #endif | 146 #endif |
OLD | NEW |