| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |