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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates 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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 s_mediaStreamRegistry = registry; 302 s_mediaStreamRegistry = registry;
303 } 303 }
304 304
305 bool HTMLMediaElement::isMediaStreamURL(const String& url) 305 bool HTMLMediaElement::isMediaStreamURL(const String& url)
306 { 306 {
307 return s_mediaStreamRegistry ? s_mediaStreamRegistry->contains(url) : false; 307 return s_mediaStreamRegistry ? s_mediaStreamRegistry->contains(url) : false;
308 } 308 }
309 309
310 HTMLMediaElement::HTMLMediaElement(const QualifiedName& tagName, Document& docum ent) 310 HTMLMediaElement::HTMLMediaElement(const QualifiedName& tagName, Document& docum ent)
311 : HTMLElement(tagName, document) 311 : HTMLElement(tagName, document)
312 , ActiveScriptWrappable(this)
312 , ActiveDOMObject(&document) 313 , ActiveDOMObject(&document)
313 , m_loadTimer(this, &HTMLMediaElement::loadTimerFired) 314 , m_loadTimer(this, &HTMLMediaElement::loadTimerFired)
314 , m_progressEventTimer(this, &HTMLMediaElement::progressEventTimerFired) 315 , m_progressEventTimer(this, &HTMLMediaElement::progressEventTimerFired)
315 , m_playbackProgressTimer(this, &HTMLMediaElement::playbackProgressTimerFire d) 316 , m_playbackProgressTimer(this, &HTMLMediaElement::playbackProgressTimerFire d)
316 , m_audioTracksTimer(this, &HTMLMediaElement::audioTracksTimerFired) 317 , m_audioTracksTimer(this, &HTMLMediaElement::audioTracksTimerFired)
317 , m_playedTimeRanges() 318 , m_playedTimeRanges()
318 , m_asyncEventQueue(GenericEventQueue::create(this)) 319 , m_asyncEventQueue(GenericEventQueue::create(this))
319 , m_playbackRate(1.0f) 320 , m_playbackRate(1.0f)
320 , m_defaultPlaybackRate(1.0f) 321 , m_defaultPlaybackRate(1.0f)
321 , m_networkState(NETWORK_EMPTY) 322 , m_networkState(NETWORK_EMPTY)
(...skipping 3489 matching lines...) Expand 10 before | Expand all | Expand 10 after
3811 { 3812 {
3812 visitor->trace(m_client); 3813 visitor->trace(m_client);
3813 } 3814 }
3814 3815
3815 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl) 3816 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl)
3816 { 3817 {
3817 visitor->trace(m_client); 3818 visitor->trace(m_client);
3818 } 3819 }
3819 3820
3820 } // namespace blink 3821 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698