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

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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 InsertionNotificationRequest insertedInto(ContainerNode*) final; 348 InsertionNotificationRequest insertedInto(ContainerNode*) final;
349 void didNotifySubtreeInsertionsToDocument() override; 349 void didNotifySubtreeInsertionsToDocument() override;
350 void removedFrom(ContainerNode*) final; 350 void removedFrom(ContainerNode*) final;
351 void didRecalcStyle(StyleRecalcChange) final; 351 void didRecalcStyle(StyleRecalcChange) final;
352 352
353 bool canStartSelection() const override { return false; } 353 bool canStartSelection() const override { return false; }
354 354
355 bool isInteractiveContent() const final; 355 bool isInteractiveContent() const final;
356 356
357 // SuspendableObject functions. 357 // SuspendableObject functions.
358 void contextDestroyed() final; 358 void contextDestroyed(ExecutionContext*) final;
359 359
360 virtual void updateDisplayState() {} 360 virtual void updateDisplayState() {}
361 361
362 void setReadyState(ReadyState); 362 void setReadyState(ReadyState);
363 void setNetworkState(WebMediaPlayer::NetworkState); 363 void setNetworkState(WebMediaPlayer::NetworkState);
364 364
365 // WebMediaPlayerClient implementation. 365 // WebMediaPlayerClient implementation.
366 void networkStateChanged() final; 366 void networkStateChanged() final;
367 void readyStateChanged() final; 367 void readyStateChanged() final;
368 void timeChanged() final; 368 void timeChanged() final;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 752
753 inline bool isHTMLMediaElement(const HTMLElement& element) { 753 inline bool isHTMLMediaElement(const HTMLElement& element) {
754 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 754 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
755 } 755 }
756 756
757 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 757 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
758 758
759 } // namespace blink 759 } // namespace blink
760 760
761 #endif // HTMLMediaElement_h 761 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698