| OLD | NEW |
| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 const String& align() const; | 98 const String& align() const; |
| 99 void setAlign(const String&); | 99 void setAlign(const String&); |
| 100 | 100 |
| 101 const String& text() const { return m_text; } | 101 const String& text() const { return m_text; } |
| 102 void setText(const String&); | 102 void setText(const String&); |
| 103 | 103 |
| 104 void parseSettings(const String&); | 104 void parseSettings(const String&); |
| 105 | 105 |
| 106 PassRefPtrWillBeRawPtr<DocumentFragment> getCueAsHTML(); | 106 PassRefPtrWillBeRawPtr<DocumentFragment> getCueAsHTML(); |
| 107 PassRefPtrWillBeRawPtr<DocumentFragment> createCueRenderingTree(); | |
| 108 | 107 |
| 109 const String& regionId() const { return m_regionId; } | 108 const String& regionId() const { return m_regionId; } |
| 110 void setRegionId(const String&); | 109 void setRegionId(const String&); |
| 111 | 110 |
| 112 virtual void updateDisplay(HTMLDivElement& container) override; | 111 virtual void updateDisplay(HTMLDivElement& container) override; |
| 113 | 112 |
| 114 virtual void updateDisplayTree(double movieTime) override; | 113 virtual void updateDisplayTree(double movieTime) override; |
| 115 virtual void removeDisplayTree() override; | 114 virtual void removeDisplayTree() override; |
| 116 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) override
; | 115 virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) override
; |
| 117 | 116 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 bool m_displayTreeShouldChange : 1; | 191 bool m_displayTreeShouldChange : 1; |
| 193 bool m_notifyRegion : 1; | 192 bool m_notifyRegion : 1; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 // VTTCue is currently the only TextTrackCue subclass. | 195 // VTTCue is currently the only TextTrackCue subclass. |
| 197 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); | 196 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); |
| 198 | 197 |
| 199 } // namespace blink | 198 } // namespace blink |
| 200 | 199 |
| 201 #endif // VTTCue_h | 200 #endif // VTTCue_h |
| OLD | NEW |