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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
196 void MediaControls::mediaElementFocused() | 196 void MediaControls::mediaElementFocused() |
197 { | 197 { |
198 show(); | 198 show(); |
199 stopHideMediaControlsTimer(); | 199 stopHideMediaControlsTimer(); |
200 } | 200 } |
201 | 201 |
202 void MediaControls::hide() | 202 void MediaControls::hide() |
203 { | 203 { |
204 m_panel->setIsDisplayed(false); | 204 m_panel->setIsDisplayed(false); |
205 m_panel->hide(); | 205 m_panel->hide(); |
206 if (m_overlayPlayButton) | |
207 m_overlayPlayButton->hide(); | |
acolwell GONE FROM CHROMIUM
2014/07/01 17:06:22
It seems like there should coorresponding "show" l
| |
206 } | 208 } |
207 | 209 |
208 void MediaControls::makeOpaque() | 210 void MediaControls::makeOpaque() |
209 { | 211 { |
210 m_panel->makeOpaque(); | 212 m_panel->makeOpaque(); |
211 } | 213 } |
212 | 214 |
213 void MediaControls::makeTransparent() | 215 void MediaControls::makeTransparent() |
214 { | 216 { |
215 m_panel->makeTransparent(); | 217 m_panel->makeTransparent(); |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
472 visitor->trace(m_muteButton); | 474 visitor->trace(m_muteButton); |
473 visitor->trace(m_volumeSlider); | 475 visitor->trace(m_volumeSlider); |
474 visitor->trace(m_toggleClosedCaptionsButton); | 476 visitor->trace(m_toggleClosedCaptionsButton); |
475 visitor->trace(m_fullScreenButton); | 477 visitor->trace(m_fullScreenButton); |
476 visitor->trace(m_durationDisplay); | 478 visitor->trace(m_durationDisplay); |
477 visitor->trace(m_enclosure); | 479 visitor->trace(m_enclosure); |
478 HTMLDivElement::trace(visitor); | 480 HTMLDivElement::trace(visitor); |
479 } | 481 } |
480 | 482 |
481 } | 483 } |
OLD | NEW |