| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 | 27 |
| 28 #include "core/html/track/TextTrackCueGeneric.h" | 28 #include "core/html/track/TextTrackCueGeneric.h" |
| 29 | 29 |
| 30 #include "CSSPropertyNames.h" | 30 #include "CSSPropertyNames.h" |
| 31 #include "CSSValueKeywords.h" | 31 #include "CSSValueKeywords.h" |
| 32 #include "HTMLDivElement.h" | |
| 33 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
| 34 #include "core/dom/ScriptExecutionContext.h" | 33 #include "core/dom/ScriptExecutionContext.h" |
| 34 #include "core/html/HTMLDivElement.h" |
| 35 #include "core/html/track/TextTrackCue.h" | 35 #include "core/html/track/TextTrackCue.h" |
| 36 #include "core/platform/graphics/InbandTextTrackPrivateClient.h" | 36 #include "core/platform/graphics/InbandTextTrackPrivateClient.h" |
| 37 #include "core/rendering/RenderObject.h" | 37 #include "core/rendering/RenderObject.h" |
| 38 #include "core/rendering/RenderTextTrackCue.h" | 38 #include "core/rendering/RenderTextTrackCue.h" |
| 39 | 39 |
| 40 namespace WebCore { | 40 namespace WebCore { |
| 41 | 41 |
| 42 class TextTrackCueGenericBoxElement : public TextTrackCueBox { | 42 class TextTrackCueGenericBoxElement : public TextTrackCueBox { |
| 43 public: | 43 public: |
| 44 static PassRefPtr<TextTrackCueGenericBoxElement> create(Document* document,
TextTrackCueGeneric* cue) | 44 static PassRefPtr<TextTrackCueGenericBoxElement> create(Document* document,
TextTrackCueGeneric* cue) |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 if (m_foregroundColor != other->foregroundColor()) | 163 if (m_foregroundColor != other->foregroundColor()) |
| 164 return false; | 164 return false; |
| 165 if (m_backgroundColor != other->backgroundColor()) | 165 if (m_backgroundColor != other->backgroundColor()) |
| 166 return false; | 166 return false; |
| 167 | 167 |
| 168 return TextTrackCue::operator==(cue); | 168 return TextTrackCue::operator==(cue); |
| 169 } | 169 } |
| 170 | 170 |
| 171 } // namespace WebCore | 171 } // namespace WebCore |
| 172 | 172 |
| OLD | NEW |