| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 : m_id(emptyString()) | 82 : m_id(emptyString()) |
| 83 , m_width(defaultWidth) | 83 , m_width(defaultWidth) |
| 84 , m_heightInLines(defaultHeightInLines) | 84 , m_heightInLines(defaultHeightInLines) |
| 85 , m_regionAnchor(FloatPoint(defaultAnchorPointX, defaultAnchorPointY)) | 85 , m_regionAnchor(FloatPoint(defaultAnchorPointX, defaultAnchorPointY)) |
| 86 , m_viewportAnchor(FloatPoint(defaultAnchorPointX, defaultAnchorPointY)) | 86 , m_viewportAnchor(FloatPoint(defaultAnchorPointX, defaultAnchorPointY)) |
| 87 , m_scroll(defaultScroll) | 87 , m_scroll(defaultScroll) |
| 88 , m_track(nullptr) | 88 , m_track(nullptr) |
| 89 , m_currentTop(0) | 89 , m_currentTop(0) |
| 90 , m_scrollTimer(this, &VTTRegion::scrollTimerFired) | 90 , m_scrollTimer(this, &VTTRegion::scrollTimerFired) |
| 91 { | 91 { |
| 92 ScriptWrappable::init(this); | |
| 93 } | 92 } |
| 94 | 93 |
| 95 VTTRegion::~VTTRegion() | 94 VTTRegion::~VTTRegion() |
| 96 { | 95 { |
| 97 } | 96 } |
| 98 | 97 |
| 99 void VTTRegion::setTrack(TextTrack* track) | 98 void VTTRegion::setTrack(TextTrack* track) |
| 100 { | 99 { |
| 101 m_track = track; | 100 m_track = track; |
| 102 } | 101 } |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 } | 470 } |
| 472 | 471 |
| 473 void VTTRegion::trace(Visitor* visitor) | 472 void VTTRegion::trace(Visitor* visitor) |
| 474 { | 473 { |
| 475 visitor->trace(m_cueContainer); | 474 visitor->trace(m_cueContainer); |
| 476 visitor->trace(m_regionDisplayTree); | 475 visitor->trace(m_regionDisplayTree); |
| 477 visitor->trace(m_track); | 476 visitor->trace(m_track); |
| 478 } | 477 } |
| 479 | 478 |
| 480 } // namespace blink | 479 } // namespace blink |
| OLD | NEW |