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

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

Issue 289273002: Oilpan: make DocumentFragment a heap allocated object. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + add WillBeGarbageCollected FIXME. 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
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | Source/core/html/track/vtt/VTTCue.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, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void setSize(int, ExceptionState&); 86 void setSize(int, ExceptionState&);
87 87
88 const String& align() const; 88 const String& align() const;
89 void setAlign(const String&); 89 void setAlign(const String&);
90 90
91 const String& text() const { return m_text; } 91 const String& text() const { return m_text; }
92 void setText(const String&); 92 void setText(const String&);
93 93
94 void parseSettings(const String&); 94 void parseSettings(const String&);
95 95
96 PassRefPtr<DocumentFragment> getCueAsHTML(); 96 PassRefPtrWillBeRawPtr<DocumentFragment> getCueAsHTML();
97 PassRefPtr<DocumentFragment> createCueRenderingTree(); 97 PassRefPtrWillBeRawPtr<DocumentFragment> createCueRenderingTree();
98 98
99 const String& regionId() const { return m_regionId; } 99 const String& regionId() const { return m_regionId; }
100 void setRegionId(const String&); 100 void setRegionId(const String&);
101 101
102 virtual void updateDisplay(const IntSize& videoSize, HTMLDivElement& contain er) OVERRIDE; 102 virtual void updateDisplay(const IntSize& videoSize, HTMLDivElement& contain er) OVERRIDE;
103 103
104 virtual void updateDisplayTree(double movieTime) OVERRIDE; 104 virtual void updateDisplayTree(double movieTime) OVERRIDE;
105 virtual void removeDisplayTree() OVERRIDE; 105 virtual void removeDisplayTree() OVERRIDE;
106 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) OVERRIDE ; 106 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) OVERRIDE ;
107 107
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool m_displayTreeShouldChange : 1; 191 bool m_displayTreeShouldChange : 1;
192 bool m_notifyRegion : 1; 192 bool m_notifyRegion : 1;
193 }; 193 };
194 194
195 // VTTCue is currently the only TextTrackCue subclass. 195 // VTTCue is currently the only TextTrackCue subclass.
196 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); 196 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true);
197 197
198 } // namespace WebCore 198 } // namespace WebCore
199 199
200 #endif 200 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698