| 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) 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 static const AtomicString& cueShadowPseudoId() | 83 static const AtomicString& cueShadowPseudoId() |
| 84 { | 84 { |
| 85 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); | 85 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const
ructFromLiteral)); |
| 86 return cue; | 86 return cue; |
| 87 } | 87 } |
| 88 | 88 |
| 89 virtual ~TextTrackCue(); | 89 virtual ~TextTrackCue(); |
| 90 | 90 |
| 91 virtual void trace(Visitor*); | 91 virtual void trace(Visitor*); |
| 92 | 92 |
| 93 virtual void visitWith(Visitor* visitor) const OVERRIDE | 93 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE |
| 94 { | 94 { |
| 95 visitor->visit(this); | 95 visitor->mark(this); |
| 96 } | 96 } |
| 97 | 97 |
| 98 TextTrack* track() const; | 98 TextTrack* track() const; |
| 99 void setTrack(TextTrack*); | 99 void setTrack(TextTrack*); |
| 100 | 100 |
| 101 const String& id() const { return m_id; } | 101 const String& id() const { return m_id; } |
| 102 void setId(const String&); | 102 void setId(const String&); |
| 103 | 103 |
| 104 double startTime() const { return m_startTime; } | 104 double startTime() const { return m_startTime; } |
| 105 void setStartTime(double, ExceptionCode&); | 105 void setStartTime(double, ExceptionCode&); |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 281 |
| 282 std::pair<float, float> m_displayPosition; | 282 std::pair<float, float> m_displayPosition; |
| 283 #if ENABLE(WEBVTT_REGIONS) | 283 #if ENABLE(WEBVTT_REGIONS) |
| 284 String m_regionId; | 284 String m_regionId; |
| 285 #endif | 285 #endif |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 } // namespace WebCore | 288 } // namespace WebCore |
| 289 | 289 |
| 290 #endif | 290 #endif |
| OLD | NEW |