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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaPlayerClient.h

Issue 2471373005: Pretend the video has no audio track if it is playing as part of autoplay muted. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; 84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0;
85 virtual void addTextTrack(WebInbandTextTrack*) = 0; 85 virtual void addTextTrack(WebInbandTextTrack*) = 0;
86 virtual void removeTextTrack(WebInbandTextTrack*) = 0; 86 virtual void removeTextTrack(WebInbandTextTrack*) = 0;
87 virtual void mediaSourceOpened(WebMediaSource*) = 0; 87 virtual void mediaSourceOpened(WebMediaSource*) = 0;
88 virtual void requestSeek(double) = 0; 88 virtual void requestSeek(double) = 0;
89 virtual void remoteRouteAvailabilityChanged(bool) = 0; 89 virtual void remoteRouteAvailabilityChanged(bool) = 0;
90 virtual void connectedToRemoteDevice() = 0; 90 virtual void connectedToRemoteDevice() = 0;
91 virtual void disconnectedFromRemoteDevice() = 0; 91 virtual void disconnectedFromRemoteDevice() = 0;
92 virtual void cancelledRemotePlaybackRequest() = 0; 92 virtual void cancelledRemotePlaybackRequest() = 0;
93 93
94 // Returns whether the media element is in an autoplay muted state.
95 virtual bool isAutoplayingMuted() = 0;
96
94 // Warning: This method will destruct the caller. 97 // Warning: This method will destruct the caller.
95 virtual void requestReload(const WebURL& newUrl) = 0; 98 virtual void requestReload(const WebURL& newUrl) = 0;
96 99
97 protected: 100 protected:
98 ~WebMediaPlayerClient() {} 101 ~WebMediaPlayerClient() {}
99 }; 102 };
100 103
101 } // namespace blink 104 } // namespace blink
102 105
103 #endif 106 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698