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

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

Issue 8333009: Merge 97451 - Clear WebMediaPlayerClientImpl back pointer on destruction (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 static PassOwnPtr<WebCore::MediaPlayerPrivateInterface> create(WebCore::Medi aPlayer*); 149 static PassOwnPtr<WebCore::MediaPlayerPrivateInterface> create(WebCore::Medi aPlayer*);
150 static void getSupportedTypes(WTF::HashSet<WTF::String>&); 150 static void getSupportedTypes(WTF::HashSet<WTF::String>&);
151 static WebCore::MediaPlayer::SupportsType supportsType( 151 static WebCore::MediaPlayer::SupportsType supportsType(
152 const WTF::String& type, const WTF::String& codecs); 152 const WTF::String& type, const WTF::String& codecs);
153 #if USE(ACCELERATED_COMPOSITING) 153 #if USE(ACCELERATED_COMPOSITING)
154 bool acceleratedRenderingInUse(); 154 bool acceleratedRenderingInUse();
155 #endif 155 #endif
156 156
157 WebCore::MediaPlayer* m_mediaPlayer; 157 WebCore::MediaPlayer* m_mediaPlayer;
158 OwnPtr<WebMediaPlayer> m_webMediaPlayer; 158 OwnPtr<WebMediaPlayer> m_webMediaPlayer;
159 OwnPtr<WebCore::VideoFrameChromium> m_currentVideoFrame;
159 String m_url; 160 String m_url;
160 bool m_delayingLoad; 161 bool m_delayingLoad;
161 WebCore::MediaPlayer::Preload m_preload; 162 WebCore::MediaPlayer::Preload m_preload;
162 #if USE(ACCELERATED_COMPOSITING) 163 #if USE(ACCELERATED_COMPOSITING)
163 RefPtr<WebCore::VideoLayerChromium> m_videoLayer; 164 RefPtr<WebCore::VideoLayerChromium> m_videoLayer;
164 bool m_supportsAcceleratedCompositing; 165 bool m_supportsAcceleratedCompositing;
165 #endif 166 #endif
166 static bool m_isEnabled; 167 static bool m_isEnabled;
167 168
168 // AudioSourceProviderImpl wraps a WebAudioSourceProvider. 169 // AudioSourceProviderImpl wraps a WebAudioSourceProvider.
(...skipping 15 matching lines...) Expand all
184 }; 185 };
185 186
186 AudioSourceProviderImpl m_audioSourceProvider; 187 AudioSourceProviderImpl m_audioSourceProvider;
187 }; 188 };
188 189
189 } // namespace WebKit 190 } // namespace WebKit
190 191
191 #endif 192 #endif
192 193
193 #endif 194 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698