Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: Source/core/html/track/vtt/VTTRegion.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/track/vtt/VTTCue.cpp ('k') | Source/core/html/track/vtt/VTTRegionList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/html/track/vtt/VTTCue.cpp ('k') | Source/core/html/track/vtt/VTTRegionList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698