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

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h

Issue 2782373002: Remove MediaControls methods needed for the Cast button (Closed)
Patch Set: Fixed MediaControlsImplTest Created 3 years, 8 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
Index: third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h
index c640a8e01091c018eb116d0ac4552c3963fbad6b..0d29cff51bc373f477080598d07540dbd23334e4 100644
--- a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlCastButtonElement.h
@@ -20,7 +20,9 @@ class MediaControlCastButtonElement final : public MediaControlInputElement {
// This MUST be called for cast button elements that are overlay elements.
void TryShowOverlay();
- void SetIsPlayingRemotely(bool);
+ // TODO(avayvod): replace with the button listening to the state change
+ // events.
+ void UpdateDisplayType();
// MediaControlInputElement overrides.
bool WillRespondToMouseClickEvents() override;
@@ -42,6 +44,8 @@ class MediaControlCastButtonElement final : public MediaControlInputElement {
void RecordMetrics(CastOverlayMetrics);
+ bool IsPlayingRemotely() const;
+
bool is_overlay_button_;
// UMA related boolean. They are used to prevent counting something twice

Powered by Google App Engine
This is Rietveld 408576698