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

Side by Side Diff: Source/core/html/HTMLMediaElement.h

Issue 88183002: HTMLMediaElement::clearMediaPlayer should acquire MediaElementAudioSourceNode::lock() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 void scheduleTimeupdateEvent(bool periodicEvent); 388 void scheduleTimeupdateEvent(bool periodicEvent);
389 void scheduleEvent(const AtomicString& eventName); 389 void scheduleEvent(const AtomicString& eventName);
390 390
391 // loading 391 // loading
392 void selectMediaResource(); 392 void selectMediaResource();
393 void loadResource(const KURL&, ContentType&, const String& keySystem); 393 void loadResource(const KURL&, ContentType&, const String& keySystem);
394 void scheduleNextSourceChild(); 394 void scheduleNextSourceChild();
395 void loadNextSourceChild(); 395 void loadNextSourceChild();
396 void userCancelledLoad(); 396 void userCancelledLoad();
397 void clearMediaPlayer(int flags); 397 void clearMediaPlayer(int flags);
398 void clearMediaPlayerAndAudioSourceProviderClient();
398 bool havePotentialSourceChild(); 399 bool havePotentialSourceChild();
399 void noneSupported(); 400 void noneSupported();
400 void mediaEngineError(PassRefPtr<MediaError> err); 401 void mediaEngineError(PassRefPtr<MediaError> err);
401 void cancelPendingEventsAndCallbacks(); 402 void cancelPendingEventsAndCallbacks();
402 void waitForSourceChange(); 403 void waitForSourceChange();
403 void prepareToPlay(); 404 void prepareToPlay();
404 405
405 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction ); 406 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction );
406 407
407 void mediaLoadingFailed(MediaPlayer::NetworkState); 408 void mediaLoadingFailed(MediaPlayer::NetworkState);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 inline bool isHTMLMediaElement(const Node& node) 596 inline bool isHTMLMediaElement(const Node& node)
596 { 597 {
597 return node.isElementNode() && toElement(node).isMediaElement(); 598 return node.isElementNode() && toElement(node).isMediaElement();
598 } 599 }
599 600
600 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 601 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
601 602
602 } //namespace 603 } //namespace
603 604
604 #endif 605 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698