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

Side by Side Diff: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h

Issue 13685002: Enable video painting on Canvas for Chrome on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing Min's comments. Created 7 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
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 static WebCore::MediaPlayer::SupportsType supportsType( 164 static WebCore::MediaPlayer::SupportsType supportsType(
165 const WTF::String& type, const WTF::String& codecs, const String& keySys tem, const WebCore::KURL&); 165 const WTF::String& type, const WTF::String& codecs, const String& keySys tem, const WebCore::KURL&);
166 #else 166 #else
167 static WebCore::MediaPlayer::SupportsType supportsType( 167 static WebCore::MediaPlayer::SupportsType supportsType(
168 const WTF::String& type, const WTF::String& codecs, const WebCore::KURL& ); 168 const WTF::String& type, const WTF::String& codecs, const WebCore::KURL& );
169 #endif 169 #endif
170 #if USE(ACCELERATED_COMPOSITING) 170 #if USE(ACCELERATED_COMPOSITING)
171 bool acceleratedRenderingInUse(); 171 bool acceleratedRenderingInUse();
172 #endif 172 #endif
173 173
174 bool paintVideoTextureInContext(WebCore::GraphicsContext*, WebCore::Graphics Context3D*);
175
174 WebCore::MediaPlayer* m_mediaPlayer; 176 WebCore::MediaPlayer* m_mediaPlayer;
175 OwnPtr<WebMediaPlayer> m_webMediaPlayer; 177 OwnPtr<WebMediaPlayer> m_webMediaPlayer;
176 WebCore::KURL m_url; 178 WebCore::KURL m_url;
177 bool m_delayingLoad; 179 bool m_delayingLoad;
178 WebCore::MediaPlayer::Preload m_preload; 180 WebCore::MediaPlayer::Preload m_preload;
179 RefPtr<WebHelperPluginImpl> m_helperPlugin; 181 RefPtr<WebHelperPluginImpl> m_helperPlugin;
180 WebLayer* m_videoLayer; 182 WebLayer* m_videoLayer;
181 bool m_opaque; 183 bool m_opaque;
182 bool m_needsWebLayerForVideo; 184 bool m_needsWebLayerForVideo;
183 static bool m_isEnabled; 185 static bool m_isEnabled;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #if ENABLE(MEDIA_SOURCE) 234 #if ENABLE(MEDIA_SOURCE)
233 RefPtr<WebCore::MediaSource> m_mediaSource; 235 RefPtr<WebCore::MediaSource> m_mediaSource;
234 #endif 236 #endif
235 }; 237 };
236 238
237 } // namespace WebKit 239 } // namespace WebKit
238 240
239 #endif 241 #endif
240 242
241 #endif 243 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698