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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // Do a GPU-GPU textures copy. If the copy is impossible or fails, it return s false. 167 // Do a GPU-GPU textures copy. If the copy is impossible or fails, it return s false.
168 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsign ed target, 168 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsign ed target,
169 unsigned texture, unsigned internalFormat, unsigned type, int level, 169 unsigned texture, unsigned internalFormat, unsigned type, int level,
170 bool premultiplyAlpha, bool flipY) { return false; } 170 bool premultiplyAlpha, bool flipY) { return false; }
171 // Copy sub video frame texture to |texture|. If the copy is impossible or f ails, it returns false. 171 // Copy sub video frame texture to |texture|. If the copy is impossible or f ails, it returns false.
172 virtual bool copyVideoSubTextureToPlatformTexture(WebGraphicsContext3D*, uns igned target, 172 virtual bool copyVideoSubTextureToPlatformTexture(WebGraphicsContext3D*, uns igned target,
173 unsigned texture, int level, int xoffset, int yoffset, bool premultiplyA lpha, 173 unsigned texture, int level, int xoffset, int yoffset, bool premultiplyA lpha,
174 bool flipY) { return false; } 174 bool flipY) { return false; }
175 175
176 virtual WebAudioSourceProvider* audioSourceProvider() { return nullptr; } 176 virtual WebAudioSourceProvider* getAudioSourceProvider() { return nullptr; }
177 177
178 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, Web ContentDecryptionModuleResult result) { result.completeWithError(WebContentDecry ptionModuleExceptionNotSupportedError, 0, "ERROR"); } 178 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, Web ContentDecryptionModuleResult result) { result.completeWithError(WebContentDecry ptionModuleExceptionNotSupportedError, 0, "ERROR"); }
179 179
180 // Sets the poster image URL. 180 // Sets the poster image URL.
181 virtual void setPoster(const WebURL& poster) { } 181 virtual void setPoster(const WebURL& poster) { }
182 182
183 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When 183 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When
184 // this is true, the video layer will be removed from the layer tree when 184 // this is true, the video layer will be removed from the layer tree when
185 // entering fullscreen, and the WebMediaPlayer is responsible for displaying 185 // entering fullscreen, and the WebMediaPlayer is responsible for displaying
186 // the video in enteredFullscreen(). 186 // the video in enteredFullscreen().
187 virtual bool supportsOverlayFullscreenVideo() { return false; } 187 virtual bool supportsOverlayFullscreenVideo() { return false; }
188 // Inform WebMediaPlayer when the element has entered/exited fullscreen. 188 // Inform WebMediaPlayer when the element has entered/exited fullscreen.
189 virtual void enteredFullscreen() { } 189 virtual void enteredFullscreen() { }
190 virtual void exitedFullscreen() { } 190 virtual void exitedFullscreen() { }
191 191
192 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } 192 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { }
193 // |selectedTrackId| is null if no track is selected. 193 // |selectedTrackId| is null if no track is selected.
194 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } 194 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { }
195 }; 195 };
196 196
197 } // namespace blink 197 } // namespace blink
198 198
199 #endif 199 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebEncryptedMediaRequest.h ('k') | third_party/WebKit/public/web/WebDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698