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

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

Issue 1851743002: Simplify Supplementables post Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component build Created 4 years, 8 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class TextTrackContainer; 63 class TextTrackContainer;
64 class TextTrackList; 64 class TextTrackList;
65 class TimeRanges; 65 class TimeRanges;
66 class URLRegistry; 66 class URLRegistry;
67 class VideoTrackList; 67 class VideoTrackList;
68 class WebAudioSourceProvider; 68 class WebAudioSourceProvider;
69 class WebInbandTextTrack; 69 class WebInbandTextTrack;
70 class WebLayer; 70 class WebLayer;
71 class WebRemotePlaybackClient; 71 class WebRemotePlaybackClient;
72 72
73 class CORE_EXPORT HTMLMediaElement : public HTMLElement, public HeapSupplementab le<HTMLMediaElement>, public ActiveScriptWrappable, public ActiveDOMObject, priv ate WebMediaPlayerClient { 73 class CORE_EXPORT HTMLMediaElement : public HTMLElement, public Supplementable<H TMLMediaElement>, public ActiveScriptWrappable, public ActiveDOMObject, private WebMediaPlayerClient {
74 DEFINE_WRAPPERTYPEINFO(); 74 DEFINE_WRAPPERTYPEINFO();
75 USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElement); 75 USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElement);
76 USING_PRE_FINALIZER(HTMLMediaElement, dispose); 76 USING_PRE_FINALIZER(HTMLMediaElement, dispose);
77 public: 77 public:
78 static WebMimeRegistry::SupportsType supportsType(const ContentType&); 78 static WebMimeRegistry::SupportsType supportsType(const ContentType&);
79 79
80 enum class RecordMetricsBehavior { 80 enum class RecordMetricsBehavior {
81 DoNotRecord, 81 DoNotRecord,
82 DoRecord 82 DoRecord
83 }; 83 };
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 inline bool isHTMLMediaElement(const HTMLElement& element) 660 inline bool isHTMLMediaElement(const HTMLElement& element)
661 { 661 {
662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
663 } 663 }
664 664
665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
666 666
667 } // namespace blink 667 } // namespace blink
668 668
669 #endif // HTMLMediaElement_h 669 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Screen.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