| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012, 2013 Apple 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 static const String& verticalGrowingRightKeyword() | 110 static const String& verticalGrowingRightKeyword() |
| 111 { | 111 { |
| 112 DEFINE_STATIC_LOCAL(const String, verticallr, ("lr")); | 112 DEFINE_STATIC_LOCAL(const String, verticallr, ("lr")); |
| 113 return verticallr; | 113 return verticallr; |
| 114 } | 114 } |
| 115 | 115 |
| 116 // ---------------------------- | 116 // ---------------------------- |
| 117 | 117 |
| 118 TextTrackCueBox::TextTrackCueBox(Document& document, TextTrackCue* cue) | 118 TextTrackCueBox::TextTrackCueBox(Document& document, TextTrackCue* cue) |
| 119 : HTMLDivElement(divTag, document) | 119 : HTMLDivElement(document) |
| 120 , m_cue(cue) | 120 , m_cue(cue) |
| 121 { | 121 { |
| 122 setPart(textTrackCueBoxShadowPseudoId()); | 122 setPart(textTrackCueBoxShadowPseudoId()); |
| 123 } | 123 } |
| 124 | 124 |
| 125 TextTrackCue* TextTrackCueBox::getCue() const | 125 TextTrackCue* TextTrackCueBox::getCue() const |
| 126 { | 126 { |
| 127 return m_cue; | 127 return m_cue; |
| 128 } | 128 } |
| 129 | 129 |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1224 return false; | 1224 return false; |
| 1225 if (m_cueSize != cue.size()) | 1225 if (m_cueSize != cue.size()) |
| 1226 return false; | 1226 return false; |
| 1227 if (align() != cue.align()) | 1227 if (align() != cue.align()) |
| 1228 return false; | 1228 return false; |
| 1229 | 1229 |
| 1230 return true; | 1230 return true; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 } // namespace WebCore | 1233 } // namespace WebCore |
| OLD | NEW |