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

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

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/VTTCue.cpp ('k') | Source/core/html/track/vtt/VTTRegion.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 const AtomicString scroll() const; 82 const AtomicString scroll() const;
83 void setScroll(const AtomicString&, ExceptionState&); 83 void setScroll(const AtomicString&, ExceptionState&);
84 84
85 void updateParametersFromRegion(VTTRegion*); 85 void updateParametersFromRegion(VTTRegion*);
86 86
87 const String& regionSettings() const { return m_settings; } 87 const String& regionSettings() const { return m_settings; }
88 void setRegionSettings(const String&); 88 void setRegionSettings(const String&);
89 89
90 bool isScrollingRegion() { return m_scroll; } 90 bool isScrollingRegion() { return m_scroll; }
91 91
92 PassRefPtr<HTMLDivElement> getDisplayTree(Document&); 92 PassRefPtrWillBeRawPtr<HTMLDivElement> getDisplayTree(Document&);
93 93
94 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>); 94 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>);
95 void displayLastVTTCueBox(); 95 void displayLastVTTCueBox();
96 void willRemoveVTTCueBox(VTTCueBox*); 96 void willRemoveVTTCueBox(VTTCueBox*);
97 97
98 void trace(Visitor*); 98 void trace(Visitor*);
99 99
100 private: 100 private:
101 VTTRegion(); 101 VTTRegion();
102 102
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // The timer is used to display the next cue line after the current one has 148 // The timer is used to display the next cue line after the current one has
149 // been displayed. It's main use is for scrolling regions and it triggers as 149 // been displayed. It's main use is for scrolling regions and it triggers as
150 // soon as the animation for rolling out one line has finished, but 150 // soon as the animation for rolling out one line has finished, but
151 // currently it is used also for non-scrolling regions to use a single 151 // currently it is used also for non-scrolling regions to use a single
152 // code path. 152 // code path.
153 Timer<VTTRegion> m_scrollTimer; 153 Timer<VTTRegion> m_scrollTimer;
154 }; 154 };
155 155
156 } // namespace WebCore 156 } // namespace WebCore
157 #endif 157 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/vtt/VTTCue.cpp ('k') | Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698