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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.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 | « no previous file | content/renderer/media/android/webmediaplayer_android.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_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 double duration() const override; 160 double duration() const override;
161 virtual double timelineOffset() const; 161 virtual double timelineOffset() const;
162 double currentTime() const override; 162 double currentTime() const override;
163 163
164 bool didLoadingProgress() override; 164 bool didLoadingProgress() override;
165 165
166 // Internal states of loading and network. 166 // Internal states of loading and network.
167 blink::WebMediaPlayer::NetworkState getNetworkState() const override; 167 blink::WebMediaPlayer::NetworkState getNetworkState() const override;
168 blink::WebMediaPlayer::ReadyState getReadyState() const override; 168 blink::WebMediaPlayer::ReadyState getReadyState() const override;
169 169
170 blink::WebString getErrorMessage() override;
171
170 bool hasSingleSecurityOrigin() const override; 172 bool hasSingleSecurityOrigin() const override;
171 bool didPassCORSAccessCheck() const override; 173 bool didPassCORSAccessCheck() const override;
172 174
173 double mediaTimeForTimeValue(double timeValue) const override; 175 double mediaTimeForTimeValue(double timeValue) const override;
174 176
175 // Provide statistics. 177 // Provide statistics.
176 unsigned decodedFrameCount() const override; 178 unsigned decodedFrameCount() const override;
177 unsigned droppedFrameCount() const override; 179 unsigned droppedFrameCount() const override;
178 size_t audioDecodedByteCount() const override; 180 size_t audioDecodedByteCount() const override;
179 size_t videoDecodedByteCount() const override; 181 size_t videoDecodedByteCount() const override;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 519
518 // NOTE: Weak pointers must be invalidated before all other member variables. 520 // NOTE: Weak pointers must be invalidated before all other member variables.
519 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; 521 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_;
520 522
521 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 523 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
522 }; 524 };
523 525
524 } // namespace content 526 } // namespace content
525 527
526 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 528 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698