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

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

Issue 1193383002: Oilpan: have media element prefinalizer handle all finalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 550
551 bool m_completelyLoaded : 1; 551 bool m_completelyLoaded : 1;
552 bool m_havePreparedToPlay : 1; 552 bool m_havePreparedToPlay : 1;
553 bool m_delayingLoadForPreloadNone : 1; 553 bool m_delayingLoadForPreloadNone : 1;
554 554
555 bool m_tracksAreReady : 1; 555 bool m_tracksAreReady : 1;
556 bool m_haveVisibleTextTrack : 1; 556 bool m_haveVisibleTextTrack : 1;
557 bool m_processingPreferenceChange : 1; 557 bool m_processingPreferenceChange : 1;
558 bool m_remoteRoutesAvailable : 1; 558 bool m_remoteRoutesAvailable : 1;
559 bool m_playingRemotely : 1; 559 bool m_playingRemotely : 1;
560 bool m_isFinalizing : 1;
560 #if ENABLE(OILPAN) 561 #if ENABLE(OILPAN)
561 bool m_isFinalizing : 1;
562 bool m_closeMediaSourceWhenFinalizing : 1; 562 bool m_closeMediaSourceWhenFinalizing : 1;
563 #endif 563 #endif
564 bool m_initialPlayWithoutUserGestures : 1; 564 bool m_initialPlayWithoutUserGestures : 1;
565 bool m_autoplayMediaCounted : 1; 565 bool m_autoplayMediaCounted : 1;
566 566
567 RefPtrWillBeMember<AudioTrackList> m_audioTracks; 567 RefPtrWillBeMember<AudioTrackList> m_audioTracks;
568 RefPtrWillBeMember<VideoTrackList> m_videoTracks; 568 RefPtrWillBeMember<VideoTrackList> m_videoTracks;
569 RefPtrWillBeMember<TextTrackList> m_textTracks; 569 RefPtrWillBeMember<TextTrackList> m_textTracks;
570 WillBeHeapVector<RefPtrWillBeMember<TextTrack>> m_textTracksWhenResourceSele ctionBegan; 570 WillBeHeapVector<RefPtrWillBeMember<TextTrack>> m_textTracksWhenResourceSele ctionBegan;
571 571
(...skipping 18 matching lines...) Expand all
590 inline bool isHTMLMediaElement(const HTMLElement& element) 590 inline bool isHTMLMediaElement(const HTMLElement& element)
591 { 591 {
592 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 592 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
593 } 593 }
594 594
595 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 595 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
596 596
597 } // namespace blink 597 } // namespace blink
598 598
599 #endif // HTMLMediaElement_h 599 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698