| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 Optional<IntRect> cropRect, | 120 Optional<IntRect> cropRect, |
| 121 const ImageBitmapOptions&, | 121 const ImageBitmapOptions&, |
| 122 ExceptionState&) override; | 122 ExceptionState&) override; |
| 123 | 123 |
| 124 private: | 124 private: |
| 125 friend class MediaCustomControlsFullscreenDetectorTest; | 125 friend class MediaCustomControlsFullscreenDetectorTest; |
| 126 friend class HTMLMediaElementEventListenersTest; | 126 friend class HTMLMediaElementEventListenersTest; |
| 127 | 127 |
| 128 HTMLVideoElement(Document&); | 128 HTMLVideoElement(Document&); |
| 129 | 129 |
| 130 // SuspendableObject functions. |
| 131 void contextDestroyed(ExecutionContext*) final; |
| 132 |
| 130 bool layoutObjectIsNeeded(const ComputedStyle&) override; | 133 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
| 131 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 134 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 132 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 135 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
| 133 void parseAttribute(const AttributeModificationParams&) override; | 136 void parseAttribute(const AttributeModificationParams&) override; |
| 134 bool isPresentationAttribute(const QualifiedName&) const override; | 137 bool isPresentationAttribute(const QualifiedName&) const override; |
| 135 void collectStyleForPresentationAttribute(const QualifiedName&, | 138 void collectStyleForPresentationAttribute(const QualifiedName&, |
| 136 const AtomicString&, | 139 const AtomicString&, |
| 137 MutableStylePropertySet*) override; | 140 MutableStylePropertySet*) override; |
| 138 bool isURLAttribute(const Attribute&) const override; | 141 bool isURLAttribute(const Attribute&) const override; |
| 139 const AtomicString imageSourceURL() const override; | 142 const AtomicString imageSourceURL() const override; |
| 140 | 143 |
| 141 void updateDisplayState() override; | 144 void updateDisplayState() override; |
| 142 void didMoveToNewDocument(Document& oldDocument) override; | 145 void didMoveToNewDocument(Document& oldDocument) override; |
| 143 void setDisplayMode(DisplayMode) override; | 146 void setDisplayMode(DisplayMode) override; |
| 144 | 147 |
| 145 Member<HTMLImageLoader> m_imageLoader; | 148 Member<HTMLImageLoader> m_imageLoader; |
| 146 Member<MediaCustomControlsFullscreenDetector> | 149 Member<MediaCustomControlsFullscreenDetector> |
| 147 m_customControlsFullscreenDetector; | 150 m_customControlsFullscreenDetector; |
| 148 | 151 |
| 149 AtomicString m_defaultPosterURL; | 152 AtomicString m_defaultPosterURL; |
| 150 }; | 153 }; |
| 151 | 154 |
| 152 } // namespace blink | 155 } // namespace blink |
| 153 | 156 |
| 154 #endif // HTMLVideoElement_h | 157 #endif // HTMLVideoElement_h |
| OLD | NEW |