| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 | 218 |
| 219 void MediaControls::changedMute() | 219 void MediaControls::changedMute() |
| 220 { | 220 { |
| 221 m_panelMuteButton->changedMute(); | 221 m_panelMuteButton->changedMute(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 void MediaControls::changedVolume() | 224 void MediaControls::changedVolume() |
| 225 { | 225 { |
| 226 if (m_volumeSlider) | 226 if (m_volumeSlider) |
| 227 m_volumeSlider->setVolume(m_mediaController->volume()); | 227 m_volumeSlider->setVolume(m_mediaController->volume()); |
| 228 if (m_panelMuteButton && m_panelMuteButton->renderer()) |
| 229 m_panelMuteButton->renderer()->repaint(); |
| 228 } | 230 } |
| 229 | 231 |
| 230 void MediaControls::changedClosedCaptionsVisibility() | 232 void MediaControls::changedClosedCaptionsVisibility() |
| 231 { | 233 { |
| 232 if (m_toggleClosedCaptionsButton) | 234 if (m_toggleClosedCaptionsButton) |
| 233 m_toggleClosedCaptionsButton->updateDisplayType(); | 235 m_toggleClosedCaptionsButton->updateDisplayType(); |
| 234 } | 236 } |
| 235 | 237 |
| 236 void MediaControls::refreshClosedCaptionsButtonVisibility() | 238 void MediaControls::refreshClosedCaptionsButtonVisibility() |
| 237 { | 239 { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 379 |
| 378 void MediaControls::updateTextTrackDisplay() | 380 void MediaControls::updateTextTrackDisplay() |
| 379 { | 381 { |
| 380 if (!m_textDisplayContainer) | 382 if (!m_textDisplayContainer) |
| 381 createTextTrackDisplay(); | 383 createTextTrackDisplay(); |
| 382 | 384 |
| 383 m_textDisplayContainer->updateDisplay(); | 385 m_textDisplayContainer->updateDisplay(); |
| 384 } | 386 } |
| 385 | 387 |
| 386 } | 388 } |
| OLD | NEW |