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

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

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: nit Created 4 years, 2 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // TODO(dshwang): remove non-|target| version. crbug.com/349871 174 // TODO(dshwang): remove non-|target| version. crbug.com/349871
175 virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, 175 virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
176 unsigned texture, 176 unsigned texture,
177 unsigned internalFormat, 177 unsigned internalFormat,
178 unsigned type, 178 unsigned type,
179 bool premultiplyAlpha, 179 bool premultiplyAlpha,
180 bool flipY) { 180 bool flipY) {
181 return false; 181 return false;
182 } 182 }
183 183
184 // Do a GPU-GPU textures copy. If the copy is impossible or fails, it returns false. 184 // Do a GPU-GPU textures copy. If the copy is impossible or fails, it returns
185 // false.
185 virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*, 186 virtual bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
186 unsigned target, 187 unsigned target,
187 unsigned texture, 188 unsigned texture,
188 unsigned internalFormat, 189 unsigned internalFormat,
189 unsigned type, 190 unsigned type,
190 int level, 191 int level,
191 bool premultiplyAlpha, 192 bool premultiplyAlpha,
192 bool flipY) { 193 bool flipY) {
193 return false; 194 return false;
194 } 195 }
195 // Copy sub video frame texture to |texture|. If the copy is impossible or fai ls, it returns false. 196 // Copy sub video frame texture to |texture|. If the copy is impossible or
197 // fails, it returns false.
196 virtual bool copyVideoSubTextureToPlatformTexture(gpu::gles2::GLES2Interface*, 198 virtual bool copyVideoSubTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
197 unsigned target, 199 unsigned target,
198 unsigned texture, 200 unsigned texture,
199 int level, 201 int level,
200 int xoffset, 202 int xoffset,
201 int yoffset, 203 int yoffset,
202 bool premultiplyAlpha, 204 bool premultiplyAlpha,
203 bool flipY) { 205 bool flipY) {
204 return false; 206 return false;
205 } 207 }
(...skipping 21 matching lines...) Expand all
227 229
228 virtual void enabledAudioTracksChanged( 230 virtual void enabledAudioTracksChanged(
229 const WebVector<TrackId>& enabledTrackIds) {} 231 const WebVector<TrackId>& enabledTrackIds) {}
230 // |selectedTrackId| is null if no track is selected. 232 // |selectedTrackId| is null if no track is selected.
231 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} 233 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {}
232 }; 234 };
233 235
234 } // namespace blink 236 } // namespace blink
235 237
236 #endif 238 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h ('k') | third_party/WebKit/public/platform/WebMediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698