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

Side by Side Diff: content/renderer/media/webmediaplayer_ms.h

Issue 1850733003: Media: Report informational error messages to HTMLMediaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_locking_in_rendermedialog
Patch Set: Rebase to ToT, address watk@'s nits. Created 4 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 unified diff | Download patch
« no previous file with comments | « content/renderer/media/render_media_log.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Getters of playback state. 120 // Getters of playback state.
121 bool paused() const override; 121 bool paused() const override;
122 bool seeking() const override; 122 bool seeking() const override;
123 double duration() const override; 123 double duration() const override;
124 double currentTime() const override; 124 double currentTime() const override;
125 125
126 // Internal states of loading and network. 126 // Internal states of loading and network.
127 blink::WebMediaPlayer::NetworkState getNetworkState() const override; 127 blink::WebMediaPlayer::NetworkState getNetworkState() const override;
128 blink::WebMediaPlayer::ReadyState getReadyState() const override; 128 blink::WebMediaPlayer::ReadyState getReadyState() const override;
129 129
130 blink::WebString getErrorMessage() override;
130 bool didLoadingProgress() override; 131 bool didLoadingProgress() override;
131 132
132 bool hasSingleSecurityOrigin() const override; 133 bool hasSingleSecurityOrigin() const override;
133 bool didPassCORSAccessCheck() const override; 134 bool didPassCORSAccessCheck() const override;
134 135
135 double mediaTimeForTimeValue(double timeValue) const override; 136 double mediaTimeForTimeValue(double timeValue) const override;
136 137
137 unsigned decodedFrameCount() const override; 138 unsigned decodedFrameCount() const override;
138 unsigned droppedFrameCount() const override; 139 unsigned droppedFrameCount() const override;
139 size_t audioDecodedByteCount() const override; 140 size_t audioDecodedByteCount() const override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // True if playback should be started upon the next call to OnShown(). Only 232 // True if playback should be started upon the next call to OnShown(). Only
232 // used on Android. 233 // used on Android.
233 bool should_play_upon_shown_; 234 bool should_play_upon_shown_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 236 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
236 }; 237 };
237 238
238 } // namespace content 239 } // namespace content
239 240
240 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 241 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « content/renderer/media/render_media_log.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698