Home
last modified time | relevance | path

Searched refs:mediaController (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControlElements.cpp356 if (mediaController()->canPlay()) in defaultEventHandler()
357 mediaController()->play(); in defaultEventHandler()
359 mediaController()->pause(); in defaultEventHandler()
368 setDisplayType(mediaController()->canPlay() ? MediaPlayButton : MediaPauseButton); in updateDisplayType()
394 if (event->type() == EventTypeNames::click && mediaController()->canPlay()) { in defaultEventHandler()
395 mediaController()->play(); in defaultEventHandler()
404 if (mediaController()->canPlay()) { in updateDisplayType()
437 bool captionsVisible = mediaController()->closedCaptionsVisible(); in updateDisplayType()
445 mediaController()->setClosedCaptionsVisible(!mediaController()->closedCaptionsVisible()); in defaultEventHandler()
446 setChecked(mediaController()->closedCaptionsVisible()); in defaultEventHandler()
[all …]
DMediaControlElementTypes.cpp147 mediaController()->setMuted(!mediaController()->muted()); in defaultEventHandler()
161 setDisplayType(mediaController()->muted() ? MediaUnMuteButton : MediaMuteButton); in updateDisplayType()
187 if (volume != mediaController()->volume()) in defaultEventHandler()
188 mediaController()->setVolume(volume, ASSERT_NO_EXCEPTION); in defaultEventHandler()
190 mediaController()->setMuted(false); in defaultEventHandler()
DMediaControlElementTypes.h90 virtual MediaControllerInterface* mediaController() const { return m_mediaController; } in mediaController() function