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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 } | 543 } |
544 | 544 |
545 void MediaControls::updateTextTrackDisplay() | 545 void MediaControls::updateTextTrackDisplay() |
546 { | 546 { |
547 if (!m_textDisplayContainer) | 547 if (!m_textDisplayContainer) |
548 createTextTrackDisplay(); | 548 createTextTrackDisplay(); |
549 | 549 |
550 m_textDisplayContainer->updateDisplay(); | 550 m_textDisplayContainer->updateDisplay(); |
551 } | 551 } |
552 | 552 |
553 void MediaControls::trace(Visitor* visitor) | 553 DEFINE_TRACE(MediaControls) |
554 { | 554 { |
555 visitor->trace(m_mediaElement); | 555 visitor->trace(m_mediaElement); |
556 visitor->trace(m_panel); | 556 visitor->trace(m_panel); |
557 visitor->trace(m_textDisplayContainer); | 557 visitor->trace(m_textDisplayContainer); |
558 visitor->trace(m_overlayPlayButton); | 558 visitor->trace(m_overlayPlayButton); |
559 visitor->trace(m_overlayEnclosure); | 559 visitor->trace(m_overlayEnclosure); |
560 visitor->trace(m_playButton); | 560 visitor->trace(m_playButton); |
561 visitor->trace(m_currentTimeDisplay); | 561 visitor->trace(m_currentTimeDisplay); |
562 visitor->trace(m_timeline); | 562 visitor->trace(m_timeline); |
563 visitor->trace(m_muteButton); | 563 visitor->trace(m_muteButton); |
564 visitor->trace(m_volumeSlider); | 564 visitor->trace(m_volumeSlider); |
565 visitor->trace(m_toggleClosedCaptionsButton); | 565 visitor->trace(m_toggleClosedCaptionsButton); |
566 visitor->trace(m_fullScreenButton); | 566 visitor->trace(m_fullScreenButton); |
567 visitor->trace(m_durationDisplay); | 567 visitor->trace(m_durationDisplay); |
568 visitor->trace(m_enclosure); | 568 visitor->trace(m_enclosure); |
569 visitor->trace(m_castButton); | 569 visitor->trace(m_castButton); |
570 visitor->trace(m_overlayCastButton); | 570 visitor->trace(m_overlayCastButton); |
571 HTMLDivElement::trace(visitor); | 571 HTMLDivElement::trace(visitor); |
572 } | 572 } |
573 | 573 |
574 } | 574 } |
OLD | NEW |