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

Side by Side Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 303593002: Oilpan: prevent player from accessing its media element during finalization (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rephrase player finalization as detaching Created 6 years, 6 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE; 85 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE;
86 86
87 virtual void setWebLayer(WebLayer*) OVERRIDE; 87 virtual void setWebLayer(WebLayer*) OVERRIDE;
88 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; 88 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
89 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; 89 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
91 virtual void requestFullscreen() OVERRIDE; 91 virtual void requestFullscreen() OVERRIDE;
92 virtual void requestSeek(double) OVERRIDE; 92 virtual void requestSeek(double) OVERRIDE;
93 93
94 // MediaPlayer methods: 94 // MediaPlayer methods:
95 virtual void detach() OVERRIDE;
95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 96 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 97 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
97 virtual void play() OVERRIDE; 98 virtual void play() OVERRIDE;
98 virtual void pause() OVERRIDE; 99 virtual void pause() OVERRIDE;
99 virtual bool supportsSave() const OVERRIDE; 100 virtual bool supportsSave() const OVERRIDE;
100 virtual double duration() const OVERRIDE; 101 virtual double duration() const OVERRIDE;
101 virtual double currentTime() const OVERRIDE; 102 virtual double currentTime() const OVERRIDE;
102 virtual void seek(double time) OVERRIDE; 103 virtual void seek(double time) OVERRIDE;
103 virtual bool seeking() const OVERRIDE; 104 virtual bool seeking() const OVERRIDE;
104 virtual double rate() const OVERRIDE; 105 virtual double rate() const OVERRIDE;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 Mutex provideInputLock; 188 Mutex provideInputLock;
188 }; 189 };
189 190
190 AudioSourceProviderImpl m_audioSourceProvider; 191 AudioSourceProviderImpl m_audioSourceProvider;
191 #endif 192 #endif
192 }; 193 };
193 194
194 } // namespace blink 195 } // namespace blink
195 196
196 #endif 197 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698