Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Unified Diff: Source/core/html/shadow/MediaControlElements.cpp

Issue 662243003: Use ::-internal-media-controls* instead of ::-webkit-media-controls* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: introduce PseudoInternalCustomElement Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControlElements.cpp
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
index ecf407457684f156fd0e13da09c8e0dd43139111..dcc7d745869aed7e703fd4e2f19146a6182a2c50 100644
--- a/Source/core/html/shadow/MediaControlElements.cpp
+++ b/Source/core/html/shadow/MediaControlElements.cpp
@@ -100,7 +100,7 @@ PassRefPtrWillBeRawPtr<MediaControlPanelElement> MediaControlPanelElement::creat
const AtomicString& MediaControlPanelElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-panel", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-panel", AtomicString::ConstructFromLiteral));
return id;
}
@@ -188,7 +188,7 @@ PassRefPtrWillBeRawPtr<MediaControlPanelEnclosureElement> MediaControlPanelEnclo
const AtomicString& MediaControlPanelEnclosureElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-enclosure", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-enclosure", AtomicString::ConstructFromLiteral));
return id;
}
@@ -207,7 +207,7 @@ PassRefPtrWillBeRawPtr<MediaControlOverlayEnclosureElement> MediaControlOverlayE
const AtomicString& MediaControlOverlayEnclosureElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-overlay-enclosure", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-overlay-enclosure", AtomicString::ConstructFromLiteral));
return id;
}
@@ -255,7 +255,7 @@ void MediaControlMuteButtonElement::updateDisplayType()
const AtomicString& MediaControlMuteButtonElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-mute-button", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-mute-button", AtomicString::ConstructFromLiteral));
return id;
}
@@ -291,7 +291,7 @@ void MediaControlPlayButtonElement::updateDisplayType()
const AtomicString& MediaControlPlayButtonElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-play-button", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-play-button", AtomicString::ConstructFromLiteral));
return id;
}
@@ -329,7 +329,7 @@ void MediaControlOverlayPlayButtonElement::updateDisplayType()
const AtomicString& MediaControlOverlayPlayButtonElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-overlay-play-button", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-overlay-play-button", AtomicString::ConstructFromLiteral));
return id;
}
@@ -376,7 +376,7 @@ void MediaControlToggleClosedCaptionsButtonElement::defaultEventHandler(Event* e
const AtomicString& MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-toggle-closed-captions-button", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-toggle-closed-captions-button", AtomicString::ConstructFromLiteral));
return id;
}
@@ -449,7 +449,7 @@ void MediaControlTimelineElement::setDuration(double duration)
const AtomicString& MediaControlTimelineElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-timeline", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-timeline", AtomicString::ConstructFromLiteral));
return id;
}
@@ -517,7 +517,7 @@ void MediaControlVolumeSliderElement::setVolume(double volume)
const AtomicString& MediaControlVolumeSliderElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-volume-slider", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-volume-slider", AtomicString::ConstructFromLiteral));
return id;
}
@@ -556,7 +556,7 @@ void MediaControlFullscreenButtonElement::defaultEventHandler(Event* event)
const AtomicString& MediaControlFullscreenButtonElement::shadowPseudoId() const
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-fullscreen-button", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-fullscreen-button", AtomicString::ConstructFromLiteral));
return id;
}
@@ -623,7 +623,7 @@ PassRefPtrWillBeRawPtr<MediaControlTimeRemainingDisplayElement> MediaControlTime
static const AtomicString& getMediaControlTimeRemainingDisplayElementShadowPseudoId()
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-time-remaining-display", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-time-remaining-display", AtomicString::ConstructFromLiteral));
return id;
}
@@ -646,7 +646,7 @@ PassRefPtrWillBeRawPtr<MediaControlCurrentTimeDisplayElement> MediaControlCurren
static const AtomicString& getMediaControlCurrentTimeDisplayElementShadowPseudoId()
{
- DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-current-time-display", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, id, ("-internal-media-controls-current-time-display", AtomicString::ConstructFromLiteral));
return id;
}
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698