OLD | NEW |
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, | 48 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, |
49 public CanvasImageSource, | 49 public CanvasImageSource, |
50 public ImageBitmapSource { | 50 public ImageBitmapSource { |
51 DEFINE_WRAPPERTYPEINFO(); | 51 DEFINE_WRAPPERTYPEINFO(); |
52 | 52 |
53 public: | 53 public: |
54 static HTMLVideoElement* Create(Document&); | 54 static HTMLVideoElement* Create(Document&); |
55 DECLARE_VIRTUAL_TRACE(); | 55 DECLARE_VIRTUAL_TRACE(); |
56 | 56 |
| 57 bool HasPendingActivity() const final; |
| 58 |
57 enum class MediaRemotingStatus { kNotStarted, kStarted, kDisabled }; | 59 enum class MediaRemotingStatus { kNotStarted, kStarted, kDisabled }; |
58 | 60 |
59 // Node override. | 61 // Node override. |
60 Node::InsertionNotificationRequest InsertedInto(ContainerNode*) override; | 62 Node::InsertionNotificationRequest InsertedInto(ContainerNode*) override; |
61 void RemovedFrom(ContainerNode*) override; | 63 void RemovedFrom(ContainerNode*) override; |
62 | 64 |
63 unsigned videoWidth() const; | 65 unsigned videoWidth() const; |
64 unsigned videoHeight() const; | 66 unsigned videoHeight() const; |
65 | 67 |
66 // Fullscreen | 68 // Fullscreen |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 Member<MediaRemotingInterstitial> remoting_interstitial_; | 181 Member<MediaRemotingInterstitial> remoting_interstitial_; |
180 | 182 |
181 AtomicString default_poster_url_; | 183 AtomicString default_poster_url_; |
182 | 184 |
183 bool is_persistent_ = false; | 185 bool is_persistent_ = false; |
184 }; | 186 }; |
185 | 187 |
186 } // namespace blink | 188 } // namespace blink |
187 | 189 |
188 #endif // HTMLVideoElement_h | 190 #endif // HTMLVideoElement_h |
OLD | NEW |