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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void enteredFullscreen(); | 63 void enteredFullscreen(); |
64 void exitedFullscreen(); | 64 void exitedFullscreen(); |
65 | 65 |
66 void startedCasting(); | 66 void startedCasting(); |
67 void stoppedCasting(); | 67 void stoppedCasting(); |
68 void refreshCastButtonVisibility(); | 68 void refreshCastButtonVisibility(); |
69 void showOverlayCastButton(); | 69 void showOverlayCastButton(); |
70 | 70 |
71 void mediaElementFocused(); | 71 void mediaElementFocused(); |
72 | 72 |
| 73 // Returns the layout object for the part of the controls that should be |
| 74 // used for overlap checking during text track layout. May be null. |
| 75 LayoutObject* layoutObjectForTextTrackLayout(); |
| 76 |
73 DECLARE_VIRTUAL_TRACE(); | 77 DECLARE_VIRTUAL_TRACE(); |
74 | 78 |
75 private: | 79 private: |
76 explicit MediaControls(HTMLMediaElement&); | 80 explicit MediaControls(HTMLMediaElement&); |
77 | 81 |
78 void initializeControls(); | 82 void initializeControls(); |
79 | 83 |
80 void makeOpaque(); | 84 void makeOpaque(); |
81 void makeTransparent(); | 85 void makeTransparent(); |
82 | 86 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 unsigned m_hideTimerBehaviorFlags; | 133 unsigned m_hideTimerBehaviorFlags; |
130 bool m_isMouseOverControls : 1; | 134 bool m_isMouseOverControls : 1; |
131 bool m_isPausedForScrubbing : 1; | 135 bool m_isPausedForScrubbing : 1; |
132 }; | 136 }; |
133 | 137 |
134 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 138 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
135 | 139 |
136 } | 140 } |
137 | 141 |
138 #endif | 142 #endif |
OLD | NEW |