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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 496723003: [Feature might be dropped] VideoPlaybackQuality.totalFrameDelay Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOT READY FOR REVIEW Created 6 years, 4 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 <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual bool hasSingleSecurityOrigin() const; 150 virtual bool hasSingleSecurityOrigin() const;
151 virtual bool didPassCORSAccessCheck() const; 151 virtual bool didPassCORSAccessCheck() const;
152 152
153 virtual double mediaTimeForTimeValue(double timeValue) const; 153 virtual double mediaTimeForTimeValue(double timeValue) const;
154 154
155 // Provide statistics. 155 // Provide statistics.
156 virtual unsigned decodedFrameCount() const; 156 virtual unsigned decodedFrameCount() const;
157 virtual unsigned droppedFrameCount() const; 157 virtual unsigned droppedFrameCount() const;
158 virtual unsigned audioDecodedByteCount() const; 158 virtual unsigned audioDecodedByteCount() const;
159 virtual unsigned videoDecodedByteCount() const; 159 virtual unsigned videoDecodedByteCount() const;
160 virtual double totalFrameDelay() const;
160 161
161 // cc::VideoFrameProvider implementation. These methods are running on the 162 // cc::VideoFrameProvider implementation. These methods are running on the
162 // compositor thread. 163 // compositor thread.
163 virtual void SetVideoFrameProviderClient( 164 virtual void SetVideoFrameProviderClient(
164 cc::VideoFrameProvider::Client* client) OVERRIDE; 165 cc::VideoFrameProvider::Client* client) OVERRIDE;
165 virtual scoped_refptr<media::VideoFrame> GetCurrentFrame() OVERRIDE; 166 virtual scoped_refptr<media::VideoFrame> GetCurrentFrame() OVERRIDE;
166 virtual void PutCurrentFrame(const scoped_refptr<media::VideoFrame>& frame) 167 virtual void PutCurrentFrame(const scoped_refptr<media::VideoFrame>& frame)
167 OVERRIDE; 168 OVERRIDE;
168 169
169 // Media player callback handlers. 170 // Media player callback handlers.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 479
479 // NOTE: Weak pointers must be invalidated before all other member variables. 480 // NOTE: Weak pointers must be invalidated before all other member variables.
480 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; 481 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_;
481 482
482 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 483 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
483 }; 484 };
484 485
485 } // namespace content 486 } // namespace content
486 487
487 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 488 #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