OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 class HTMLAudioElement final : public HTMLMediaElement { | 36 class HTMLAudioElement final : public HTMLMediaElement { |
37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
38 public: | 38 public: |
39 static PassRefPtrWillBeRawPtr<HTMLAudioElement> create(Document&); | 39 static PassRefPtrWillBeRawPtr<HTMLAudioElement> create(Document&); |
40 static PassRefPtrWillBeRawPtr<HTMLAudioElement> createForJSConstructor(Docum
ent&, const AtomicString& src); | 40 static PassRefPtrWillBeRawPtr<HTMLAudioElement> createForJSConstructor(Docum
ent&, const AtomicString& src); |
41 | 41 |
42 virtual bool isHTMLAudioElement() const override { return true; } | 42 virtual bool isHTMLAudioElement() const override { return true; } |
43 | 43 |
44 private: | 44 private: |
| 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 46 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; |
| 47 |
45 HTMLAudioElement(Document&); | 48 HTMLAudioElement(Document&); |
46 }; | 49 }; |
47 | 50 |
48 } // namespace blink | 51 } // namespace blink |
49 | 52 |
50 #endif // HTMLAudioElement_h | 53 #endif // HTMLAudioElement_h |
OLD | NEW |