| 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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 std::pair<double, double> TextTrackCue::getCSSPosition() const | 1198 std::pair<double, double> TextTrackCue::getCSSPosition() const |
| 1199 { | 1199 { |
| 1200 if (!m_snapToLines) | 1200 if (!m_snapToLines) |
| 1201 return getPositionCoordinates(); | 1201 return getPositionCoordinates(); |
| 1202 | 1202 |
| 1203 return m_displayPosition; | 1203 return m_displayPosition; |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 const AtomicString& TextTrackCue::interfaceName() const | 1206 const AtomicString& TextTrackCue::interfaceName() const |
| 1207 { | 1207 { |
| 1208 return eventNames().interfaceForTextTrackCue; | 1208 return EventTargetNames::TextTrackCue; |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 ExecutionContext* TextTrackCue::executionContext() const | 1211 ExecutionContext* TextTrackCue::executionContext() const |
| 1212 { | 1212 { |
| 1213 return m_executionContext; | 1213 return m_executionContext; |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 bool TextTrackCue::operator==(const TextTrackCue& cue) const | 1216 bool TextTrackCue::operator==(const TextTrackCue& cue) const |
| 1217 { | 1217 { |
| 1218 if (cueType() != cue.cueType()) | 1218 if (cueType() != cue.cueType()) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1234 return false; | 1234 return false; |
| 1235 if (m_cueSize != cue.size()) | 1235 if (m_cueSize != cue.size()) |
| 1236 return false; | 1236 return false; |
| 1237 if (align() != cue.align()) | 1237 if (align() != cue.align()) |
| 1238 return false; | 1238 return false; |
| 1239 | 1239 |
| 1240 return true; | 1240 return true; |
| 1241 } | 1241 } |
| 1242 | 1242 |
| 1243 } // namespace WebCore | 1243 } // namespace WebCore |
| OLD | NEW |