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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getgles2: rebase 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 | « gpu/blink/webgraphicscontext3d_impl.cc ('k') | media/blink/webmediaplayer_impl.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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 26 matching lines...) Expand all
37 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" 37 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h"
38 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 38 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
39 #include "url/gurl.h" 39 #include "url/gurl.h"
40 40
41 #if defined(OS_ANDROID) // WMPI_CAST 41 #if defined(OS_ANDROID) // WMPI_CAST
42 // Delete this file when WMPI_CAST is no longer needed. 42 // Delete this file when WMPI_CAST is no longer needed.
43 #include "media/blink/webmediaplayer_cast_android.h" 43 #include "media/blink/webmediaplayer_cast_android.h"
44 #endif 44 #endif
45 45
46 namespace blink { 46 namespace blink {
47 class WebGraphicsContext3D;
48 class WebLocalFrame; 47 class WebLocalFrame;
49 class WebMediaPlayerClient; 48 class WebMediaPlayerClient;
50 class WebMediaPlayerEncryptedMediaClient; 49 class WebMediaPlayerEncryptedMediaClient;
51 } 50 }
52 51
53 namespace base { 52 namespace base {
54 class SingleThreadTaskRunner; 53 class SingleThreadTaskRunner;
55 class TaskRunner; 54 class TaskRunner;
56 } 55 }
57 56
58 namespace cc_blink { 57 namespace cc_blink {
59 class WebLayerImpl; 58 class WebLayerImpl;
60 } 59 }
61 60
61 namespace gpu {
62 namespace gles2 {
63 class GLES2Interface;
64 }
65 }
66
62 namespace media { 67 namespace media {
63 class AudioHardwareConfig; 68 class AudioHardwareConfig;
64 class ChunkDemuxer; 69 class ChunkDemuxer;
65 class GpuVideoAcceleratorFactories; 70 class GpuVideoAcceleratorFactories;
66 class MediaLog; 71 class MediaLog;
67 class UrlIndex; 72 class UrlIndex;
68 class VideoFrameCompositor; 73 class VideoFrameCompositor;
69 class WebAudioSourceProviderImpl; 74 class WebAudioSourceProviderImpl;
70 class WebMediaPlayerDelegate; 75 class WebMediaPlayerDelegate;
71 class WebTextTrackImpl; 76 class WebTextTrackImpl;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool hasSingleSecurityOrigin() const override; 148 bool hasSingleSecurityOrigin() const override;
144 bool didPassCORSAccessCheck() const override; 149 bool didPassCORSAccessCheck() const override;
145 150
146 double mediaTimeForTimeValue(double timeValue) const override; 151 double mediaTimeForTimeValue(double timeValue) const override;
147 152
148 unsigned decodedFrameCount() const override; 153 unsigned decodedFrameCount() const override;
149 unsigned droppedFrameCount() const override; 154 unsigned droppedFrameCount() const override;
150 size_t audioDecodedByteCount() const override; 155 size_t audioDecodedByteCount() const override;
151 size_t videoDecodedByteCount() const override; 156 size_t videoDecodedByteCount() const override;
152 157
153 bool copyVideoTextureToPlatformTexture( 158 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
154 blink::WebGraphicsContext3D* web_graphics_context, 159 unsigned int texture,
155 unsigned int texture, 160 unsigned int internal_format,
156 unsigned int internal_format, 161 unsigned int type,
157 unsigned int type, 162 bool premultiply_alpha,
158 bool premultiply_alpha, 163 bool flip_y) override;
159 bool flip_y) override;
160 164
161 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 165 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
162 166
163 void setContentDecryptionModule( 167 void setContentDecryptionModule(
164 blink::WebContentDecryptionModule* cdm, 168 blink::WebContentDecryptionModule* cdm,
165 blink::WebContentDecryptionModuleResult result) override; 169 blink::WebContentDecryptionModuleResult result) override;
166 170
167 void enteredFullscreen() override; 171 void enteredFullscreen() override;
168 void exitedFullscreen() override; 172 void exitedFullscreen() override;
169 173
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // started; prevents us from spuriously logging errors that are transient or 443 // started; prevents us from spuriously logging errors that are transient or
440 // unimportant. 444 // unimportant.
441 bool suppress_destruction_errors_; 445 bool suppress_destruction_errors_;
442 446
443 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 447 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
444 }; 448 };
445 449
446 } // namespace media 450 } // namespace media
447 451
448 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 452 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698