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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 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) 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 void didRecalcStyle(StyleRecalcChange) final; 339 void didRecalcStyle(StyleRecalcChange) final;
340 340
341 bool canStartSelection() const override { return false; } 341 bool canStartSelection() const override { return false; }
342 342
343 void didBecomeFullscreenElement() final; 343 void didBecomeFullscreenElement() final;
344 void willStopBeingFullscreenElement() final; 344 void willStopBeingFullscreenElement() final;
345 bool isInteractiveContent() const final; 345 bool isInteractiveContent() const final;
346 void defaultEventHandler(Event*) final; 346 void defaultEventHandler(Event*) final;
347 347
348 // ActiveDOMObject functions. 348 // ActiveDOMObject functions.
349 void stop() final; 349 void contextDestroyed() final;
350 350
351 virtual void updateDisplayState() {} 351 virtual void updateDisplayState() {}
352 352
353 void setReadyState(ReadyState); 353 void setReadyState(ReadyState);
354 void setNetworkState(WebMediaPlayer::NetworkState); 354 void setNetworkState(WebMediaPlayer::NetworkState);
355 355
356 // WebMediaPlayerClient implementation. 356 // WebMediaPlayerClient implementation.
357 void networkStateChanged() final; 357 void networkStateChanged() final;
358 void readyStateChanged() final; 358 void readyStateChanged() final;
359 void timeChanged() final; 359 void timeChanged() final;
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 720
721 inline bool isHTMLMediaElement(const HTMLElement& element) { 721 inline bool isHTMLMediaElement(const HTMLElement& element) {
722 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 722 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
723 } 723 }
724 724
725 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 725 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
726 726
727 } // namespace blink 727 } // namespace blink
728 728
729 #endif // HTMLMediaElement_h 729 #endif // HTMLMediaElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698