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

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

Issue 295993007: Oilpan: Use transition types for HTMLDivElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/VTTRegion.h ('k') | no next file » | 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 } 311 }
312 312
313 const AtomicString& VTTRegion::textTrackRegionShadowPseudoId() 313 const AtomicString& VTTRegion::textTrackRegionShadowPseudoId()
314 { 314 {
315 DEFINE_STATIC_LOCAL(const AtomicString, trackRegionShadowPseudoId, 315 DEFINE_STATIC_LOCAL(const AtomicString, trackRegionShadowPseudoId,
316 ("-webkit-media-text-track-region", AtomicString::ConstructFromLiteral)) ; 316 ("-webkit-media-text-track-region", AtomicString::ConstructFromLiteral)) ;
317 317
318 return trackRegionShadowPseudoId; 318 return trackRegionShadowPseudoId;
319 } 319 }
320 320
321 PassRefPtr<HTMLDivElement> VTTRegion::getDisplayTree(Document& document) 321 PassRefPtrWillBeRawPtr<HTMLDivElement> VTTRegion::getDisplayTree(Document& docum ent)
322 { 322 {
323 if (!m_regionDisplayTree) { 323 if (!m_regionDisplayTree) {
324 m_regionDisplayTree = HTMLDivElement::create(document); 324 m_regionDisplayTree = HTMLDivElement::create(document);
325 prepareRegionDisplayTree(); 325 prepareRegionDisplayTree();
326 } 326 }
327 327
328 return m_regionDisplayTree; 328 return m_regionDisplayTree;
329 } 329 }
330 330
331 void VTTRegion::willRemoveVTTCueBox(VTTCueBox* box) 331 void VTTRegion::willRemoveVTTCueBox(VTTCueBox* box)
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } 468 }
469 469
470 void VTTRegion::trace(Visitor* visitor) 470 void VTTRegion::trace(Visitor* visitor)
471 { 471 {
472 visitor->trace(m_cueContainer); 472 visitor->trace(m_cueContainer);
473 visitor->trace(m_regionDisplayTree); 473 visitor->trace(m_regionDisplayTree);
474 visitor->trace(m_track); 474 visitor->trace(m_track);
475 } 475 }
476 476
477 } // namespace WebCore 477 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/track/vtt/VTTRegion.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698