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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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
Index: Source/core/html/shadow/MediaControlsChromium.cpp
diff --git a/Source/core/html/shadow/MediaControlsChromium.cpp b/Source/core/html/shadow/MediaControlsChromium.cpp
index d4fadf70193de4f3dd936dad5ebd26ab378a5c73..d1d4ccbfd40329cb701b40d682061ef79f476f7c 100644
--- a/Source/core/html/shadow/MediaControlsChromium.cpp
+++ b/Source/core/html/shadow/MediaControlsChromium.cpp
@@ -69,68 +69,68 @@ bool MediaControlsChromium::initializeControls(Document& document)
RefPtr<MediaControlPanelElement> panel = MediaControlPanelElement::create(document);
- TrackExceptionState es;
+ TrackExceptionState exceptionState;
RefPtr<MediaControlPlayButtonElement> playButton = MediaControlPlayButtonElement::create(document);
m_playButton = playButton.get();
- panel->appendChild(playButton.release(), es);
- if (es.hadException())
+ panel->appendChild(playButton.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
RefPtr<MediaControlTimelineElement> timeline = MediaControlTimelineElement::create(document, this);
m_timeline = timeline.get();
- panel->appendChild(timeline.release(), es);
- if (es.hadException())
+ panel->appendChild(timeline.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
RefPtr<MediaControlCurrentTimeDisplayElement> currentTimeDisplay = MediaControlCurrentTimeDisplayElement::create(document);
m_currentTimeDisplay = currentTimeDisplay.get();
m_currentTimeDisplay->hide();
- panel->appendChild(currentTimeDisplay.release(), es);
- if (es.hadException())
+ panel->appendChild(currentTimeDisplay.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
RefPtr<MediaControlTimeRemainingDisplayElement> durationDisplay = MediaControlTimeRemainingDisplayElement::create(document);
m_durationDisplay = durationDisplay.get();
- panel->appendChild(durationDisplay.release(), es);
- if (es.hadException())
+ panel->appendChild(durationDisplay.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
RefPtr<MediaControlPanelMuteButtonElement> panelMuteButton = MediaControlPanelMuteButtonElement::create(document, this);
m_panelMuteButton = panelMuteButton.get();
- panel->appendChild(panelMuteButton.release(), es);
- if (es.hadException())
+ panel->appendChild(panelMuteButton.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
RefPtr<MediaControlPanelVolumeSliderElement> slider = MediaControlPanelVolumeSliderElement::create(document);
m_volumeSlider = slider.get();
m_volumeSlider->setClearMutedOnUserInteraction(true);
- panel->appendChild(slider.release(), es);
- if (es.hadException())
+ panel->appendChild(slider.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
if (RenderTheme::theme().supportsClosedCaptioning()) {
RefPtr<MediaControlToggleClosedCaptionsButtonElement> toggleClosedCaptionsButton = MediaControlToggleClosedCaptionsButtonElement::create(document, this);
m_toggleClosedCaptionsButton = toggleClosedCaptionsButton.get();
- panel->appendChild(toggleClosedCaptionsButton.release(), es);
- if (es.hadException())
+ panel->appendChild(toggleClosedCaptionsButton.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
}
RefPtr<MediaControlFullscreenButtonElement> fullscreenButton = MediaControlFullscreenButtonElement::create(document);
m_fullScreenButton = fullscreenButton.get();
- panel->appendChild(fullscreenButton.release(), es);
- if (es.hadException())
+ panel->appendChild(fullscreenButton.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
m_panel = panel.get();
- enclosure->appendChild(panel.release(), es);
- if (es.hadException())
+ enclosure->appendChild(panel.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
m_enclosure = enclosure.get();
- appendChild(enclosure.release(), es);
- if (es.hadException())
+ appendChild(enclosure.release(), exceptionState);
+ if (exceptionState.hadException())
return false;
return true;
« no previous file with comments | « Source/core/html/forms/NumberInputType.cpp ('k') | Source/core/html/shadow/MediaControlsChromiumAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698