/external/webkit/Source/WebCore/html/shadow/ |
D | MediaControlElements.cpp | 72 MediaControlElement::MediaControlElement(HTMLMediaElement* mediaElement) in MediaControlElement() argument 73 : HTMLDivElement(divTag, mediaElement->document()) in MediaControlElement() 74 , m_mediaElement(mediaElement) in MediaControlElement() 101 inline MediaControlPanelElement::MediaControlPanelElement(HTMLMediaElement* mediaElement) in MediaControlPanelElement() argument 102 : MediaControlElement(mediaElement) in MediaControlPanelElement() 106 …ssRefPtr<MediaControlPanelElement> MediaControlPanelElement::create(HTMLMediaElement* mediaElement) in create() argument 108 return adoptRef(new MediaControlPanelElement(mediaElement)); in create() 124 …ntrolTimelineContainerElement::MediaControlTimelineContainerElement(HTMLMediaElement* mediaElement) in MediaControlTimelineContainerElement() argument 125 : MediaControlElement(mediaElement) in MediaControlTimelineContainerElement() 129 …elineContainerElement> MediaControlTimelineContainerElement::create(HTMLMediaElement* mediaElement) in create() argument [all …]
|
D | MediaControlRootElement.cpp | 40 MediaControlRootElement::MediaControlRootElement(HTMLMediaElement* mediaElement) in MediaControlRootElement() argument 41 : MediaControls(mediaElement) in MediaControlRootElement() 42 , m_mediaElement(mediaElement) in MediaControlRootElement() 67 PassRefPtr<MediaControls> MediaControls::create(HTMLMediaElement* mediaElement) in create() argument 69 return MediaControlRootElement::create(mediaElement); in create() 72 PassRefPtr<MediaControlRootElement> MediaControlRootElement::create(HTMLMediaElement* mediaElement) in create() argument 74 if (!mediaElement->document()->page()) in create() 77 RefPtr<MediaControlRootElement> controls = adoptRef(new MediaControlRootElement(mediaElement)); in create() 79 RefPtr<MediaControlPanelElement> panel = MediaControlPanelElement::create(mediaElement); in create() 83 …iaControlRewindButtonElement> rewindButton = MediaControlRewindButtonElement::create(mediaElement); in create() [all …]
|
D | MediaControls.cpp | 39 MediaControls::MediaControls(HTMLMediaElement* mediaElement) in MediaControls() argument 40 : HTMLDivElement(HTMLNames::divTag, mediaElement->document()) in MediaControls()
|
D | MediaControlElements.h | 84 HTMLMediaElement* mediaElement() const { return m_mediaElement; } in mediaElement() function 161 HTMLMediaElement* mediaElement() const { return m_mediaElement; } in mediaElement() function
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderMediaControlsChromium.cpp | 58 static bool hasSource(const HTMLMediaElement* mediaElement) in hasSource() argument 60 return mediaElement->networkState() != HTMLMediaElement::NETWORK_EMPTY in hasSource() 61 && mediaElement->networkState() != HTMLMediaElement::NETWORK_NO_SOURCE; in hasSource() 73 HTMLMediaElement* mediaElement = toParentMediaElement(object); in paintMediaMuteButton() local 74 if (!mediaElement) in paintMediaMuteButton() 81 if (!hasSource(mediaElement) || !mediaElement->hasAudio()) in paintMediaMuteButton() 84 return paintMediaButton(paintInfo.context, rect, mediaElement->muted() ? soundNone: soundFull); in paintMediaMuteButton() 89 HTMLMediaElement* mediaElement = toParentMediaElement(object); in paintMediaPlayButton() local 90 if (!mediaElement) in paintMediaPlayButton() 97 if (!hasSource(mediaElement)) in paintMediaPlayButton() [all …]
|
D | HitTestResult.cpp | 329 if (HTMLMediaElement* mediaElt = mediaElement()) in absoluteMediaURL() 340 HTMLMediaElement* mediaElt(mediaElement()); in mediaSupportsFullscreen() 348 HTMLMediaElement* HitTestResult::mediaElement() const in mediaElement() function in WebCore::HitTestResult 365 if (HTMLMediaElement* mediaElt = mediaElement()) in toggleMediaControlsDisplay() 373 if (HTMLMediaElement* mediaElt = mediaElement()) in toggleMediaLoopPlayback() 381 HTMLMediaElement* mediaElt(mediaElement()); in enterFullscreenForVideo() 393 if (HTMLMediaElement* mediaElt = mediaElement()) in mediaControlsEnabled() 402 if (HTMLMediaElement* mediaElt = mediaElement()) in mediaLoopEnabled() 411 if (HTMLMediaElement* mediaElt = mediaElement()) in mediaPlaying() 420 if (HTMLMediaElement* mediaElt = mediaElement()) in toggleMediaPlayState() [all …]
|
D | RenderVideo.cpp | 59 if (MediaPlayer* p = mediaElement()->player()) { in ~RenderVideo() 111 MediaPlayer* player = mediaElement()->player(); in calculateIntrinsicSize() 189 MediaPlayer* mediaPlayer = mediaElement()->player(); in paintReplaced() 233 MediaPlayer* mediaPlayer = mediaElement()->player(); in updatePlayer() 270 MediaPlayer* p = mediaElement()->player(); in supportsAcceleratedRendering() 279 MediaPlayer* p = mediaElement()->player(); in acceleratedRenderingStateChanged()
|
D | RenderThemeWinCE.cpp | 498 HTMLMediaElement* mediaElement = mediaElementParent(o->node()); in paintSliderTrack() local 499 if (mediaElement) { in paintSliderTrack() 501 …IntPoint right = IntPoint(left.x() + mediaElement->percentLoaded() * (r.maxX() - r.x() - 4), (r.y(… in paintSliderTrack() 519 HTMLMediaElement* mediaElement = mediaElementParent(o->node()); in paintSliderThumb() local 520 if (mediaElement) { in paintSliderThumb() 521 … float pt = (mediaElement->currentTime() - mediaElement->startTime()) / mediaElement->duration(); in paintSliderThumb() 559 HTMLMediaElement* mediaElement = mediaElementParent(o->node()); in paintMediaMuteButton() local 560 bool muted = !mediaElement || mediaElement->muted(); in paintMediaMuteButton() 589 HTMLMediaElement* mediaElement = mediaElementParent(o->node()); in paintMediaPlayButton() local 590 bool paused = !mediaElement || mediaElement->paused(); in paintMediaPlayButton()
|
D | RenderMediaControls.cpp | 145 if (HTMLMediaElement* mediaElement = toParentMediaElement(o)) { in paintMediaControlsPart() local 147 …rmContext(), unzoomedRect, mediaElement->percentLoaded() * mediaElement->duration(), mediaElement-… in paintMediaControlsPart()
|
D | RenderMedia.h | 46 HTMLMediaElement* mediaElement() const;
|
D | RenderMedia.cpp | 53 HTMLMediaElement* RenderMedia::mediaElement() const in mediaElement() function in WebCore::RenderMedia
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebVideoFullscreenHUDWindowController.mm | 454 if (HTMLMediaElement* mediaElement = [_delegate mediaElement]) 455 mediaElement->endScrubbing(); 463 if (HTMLMediaElement* mediaElement = [_delegate mediaElement]) 464 mediaElement->beginScrubbing(); 473 return [_delegate mediaElement] ? [_delegate mediaElement]->currentTime() : 0; 478 if (![_delegate mediaElement]) 481 [_delegate mediaElement]->setCurrentTime(currentTime, e); 487 return [_delegate mediaElement] ? [_delegate mediaElement]->duration() : 0; 513 if (![_delegate mediaElement]) 522 if (![_delegate mediaElement]) [all …]
|
D | WebVideoFullscreenController.h | 63 - (void)setMediaElement:(WebCore::HTMLMediaElement*)mediaElement; 64 - (WebCore::HTMLMediaElement*)mediaElement;
|
D | WebVideoFullscreenHUDWindowController.h | 63 - (WebCore::HTMLMediaElement*)mediaElement;
|
/external/webkit/Source/WebKit/chromium/src/ |
D | ContextMenuClientImpl.cpp | 188 HTMLMediaElement* mediaElement = in getCustomMenuFromDefaultItems() local 190 if (mediaElement->hasTagName(HTMLNames::videoTag)) in getCustomMenuFromDefaultItems() 192 else if (mediaElement->hasTagName(HTMLNames::audioTag)) in getCustomMenuFromDefaultItems() 195 if (mediaElement->error()) in getCustomMenuFromDefaultItems() 197 if (mediaElement->paused()) in getCustomMenuFromDefaultItems() 199 if (mediaElement->muted()) in getCustomMenuFromDefaultItems() 201 if (mediaElement->loop()) in getCustomMenuFromDefaultItems() 203 if (mediaElement->supportsSave()) in getCustomMenuFromDefaultItems() 205 if (mediaElement->hasAudio()) in getCustomMenuFromDefaultItems() 207 if (mediaElement->hasVideo()) in getCustomMenuFromDefaultItems() [all …]
|
/external/webkit/Source/WebKit/efl/WebCoreSupport/ |
D | FullscreenVideoControllerEfl.cpp | 49 void FullscreenVideoController::setMediaElement(HTMLMediaElement* mediaElement) in setMediaElement() argument 51 if (mediaElement == m_mediaElement) in setMediaElement() 54 m_mediaElement = mediaElement; in setMediaElement()
|
D | FullscreenVideoControllerEfl.h | 37 WebCore::HTMLMediaElement* mediaElement() const { return m_mediaElement.get(); } in mediaElement() function
|
/external/webkit/Source/WebCore/html/ |
D | MediaDocument.cpp | 87 RefPtr<Element> mediaElement = document()->createElement(videoTag, false); in createDocumentStructure() local 89 m_mediaElement = static_cast<HTMLVideoElement*>(mediaElement.get()); in createDocumentStructure() 97 body->appendChild(mediaElement, ec); in createDocumentStructure()
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | RenderThemeGtk.cpp | 499 HTMLMediaElement* mediaElement = getMediaElementFromRenderObject(renderObject); in paintMediaMuteButton() local 500 if (!mediaElement) in paintMediaMuteButton() 503 …return paintMediaButton(renderObject, paintInfo.context, rect, mediaElement->muted() ? "audio-volu… in paintMediaMuteButton() 535 HTMLMediaElement* mediaElement = toParentMediaElement(o); in paintMediaSliderTrack() local 537 if (!mediaElement) in paintMediaSliderTrack() 542 float mediaDuration = mediaElement->duration(); in paintMediaSliderTrack() 543 RefPtr<TimeRanges> timeRanges = mediaElement->buffered(); in paintMediaSliderTrack()
|
/external/webkit/Source/WebKit/win/ |
D | FullscreenVideoController.cpp | 203 HTMLMediaElement* mediaElement = m_parent->m_mediaElement.get(); in platformCALayerLayoutSublayersOfLayer() local 204 if (!mediaElement) in platformCALayerLayoutSublayersOfLayer() 208 PlatformCALayer* videoLayer = PlatformCALayer::platformCALayer(mediaElement->platformLayer()); in platformCALayerLayoutSublayersOfLayer() 214 FloatSize videoSize = mediaElement->player()->naturalSize(); in platformCALayerLayoutSublayersOfLayer() 259 void FullscreenVideoController::setMediaElement(HTMLMediaElement* mediaElement) in setMediaElement() argument 261 if (mediaElement == m_mediaElement) in setMediaElement() 264 m_mediaElement = mediaElement; in setMediaElement()
|
/external/webkit/Source/WebCore/platform/qt/ |
D | RenderThemeQt.cpp | 1220 HTMLMediaElement* mediaElement = toParentMediaElement(o); in paintMediaFullscreenButton() local 1221 if (!mediaElement) in paintMediaFullscreenButton() 1244 HTMLMediaElement* mediaElement = toParentMediaElement(o); in paintMediaMuteButton() local 1245 if (!mediaElement) in paintMediaMuteButton() 1260 p.painter->setBrush(mediaElement->muted() ? Qt::darkRed : getMediaControlForegroundColor(o)); in paintMediaMuteButton() 1268 HTMLMediaElement* mediaElement = toParentMediaElement(o); in paintMediaPlayButton() local 1269 if (!mediaElement) in paintMediaPlayButton() 1282 if (mediaElement->canPlay()) { in paintMediaPlayButton() 1387 HTMLMediaElement* mediaElement = toParentMediaElement(o); in paintMediaSliderTrack() local 1388 if (!mediaElement) in paintMediaSliderTrack() [all …]
|
/external/webkit/Source/WebCore/platform/android/ |
D | RenderThemeAndroid.cpp | 319 HTMLMediaElement* mediaElement = static_cast<HTMLMediaElement*>(e); in shouldRenderMediaControlPart() local 327 return mediaElement->movieLoadType() != MediaPlayer::LiveStream; in shouldRenderMediaControlPart() 329 return mediaElement->movieLoadType() == MediaPlayer::LiveStream; in shouldRenderMediaControlPart() 331 return mediaElement->supportsFullscreen(); in shouldRenderMediaControlPart() 333 return mediaElement->hasClosedCaptions(); in shouldRenderMediaControlPart()
|
/external/webkit/Source/WebCore/loader/ |
D | SubframeLoader.cpp | 164 HTMLMediaElement* mediaElement = static_cast<HTMLMediaElement*>(node); in loadMediaPlayerProxyPlugin() local 170 else if (mediaElement->isVideo()) in loadMediaPlayerProxyPlugin() 175 …idget = m_frame->loader()->client()->createMediaPlayerProxyPlugin(size, mediaElement, completedURL, in loadMediaPlayerProxyPlugin()
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | FullscreenVideoController.h | 37 WebCore::HTMLMediaElement* mediaElement() const { return m_mediaElement.get(); } in mediaElement() function
|
D | FullscreenVideoController.cpp | 150 void FullscreenVideoController::setMediaElement(HTMLMediaElement* mediaElement) in setMediaElement() argument 152 if (mediaElement == m_mediaElement) in setMediaElement() 155 m_mediaElement = mediaElement; in setMediaElement()
|