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

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

Issue 2696893002: [Blink>Media] Add heuristic for dominant video detection for Android (Closed)
Patch Set: s/CustomControlsFullscreenDetector/MediaCustomControlsFullscreenDetector Created 3 years, 10 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 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 24 matching lines...) Expand all
35 35
36 namespace gpu { 36 namespace gpu {
37 namespace gles2 { 37 namespace gles2 {
38 class GLES2Interface; 38 class GLES2Interface;
39 } 39 }
40 } 40 }
41 41
42 namespace blink { 42 namespace blink {
43 class ExceptionState; 43 class ExceptionState;
44 class ImageBitmapOptions; 44 class ImageBitmapOptions;
45 class MediaCustomControlsFullscreenDetector;
45 46
46 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, 47 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
47 public CanvasImageSource, 48 public CanvasImageSource,
48 public ImageBitmapSource { 49 public ImageBitmapSource {
49 DEFINE_WRAPPERTYPEINFO(); 50 DEFINE_WRAPPERTYPEINFO();
50 51
51 public: 52 public:
52 static HTMLVideoElement* create(Document&); 53 static HTMLVideoElement* create(Document&);
53 DECLARE_VIRTUAL_TRACE(); 54 DECLARE_VIRTUAL_TRACE();
54 55
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const AtomicString&, 133 const AtomicString&,
133 MutableStylePropertySet*) override; 134 MutableStylePropertySet*) override;
134 bool isURLAttribute(const Attribute&) const override; 135 bool isURLAttribute(const Attribute&) const override;
135 const AtomicString imageSourceURL() const override; 136 const AtomicString imageSourceURL() const override;
136 137
137 void updateDisplayState() override; 138 void updateDisplayState() override;
138 void didMoveToNewDocument(Document& oldDocument) override; 139 void didMoveToNewDocument(Document& oldDocument) override;
139 void setDisplayMode(DisplayMode) override; 140 void setDisplayMode(DisplayMode) override;
140 141
141 Member<HTMLImageLoader> m_imageLoader; 142 Member<HTMLImageLoader> m_imageLoader;
143 Member<MediaCustomControlsFullscreenDetector>
144 m_customControlsFullscreenDetector;
142 145
143 AtomicString m_defaultPosterURL; 146 AtomicString m_defaultPosterURL;
144 }; 147 };
145 148
146 } // namespace blink 149 } // namespace blink
147 150
148 #endif // HTMLVideoElement_h 151 #endif // HTMLVideoElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698