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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 virtual ~VTTCue(); | 72 virtual ~VTTCue(); |
73 | 73 |
74 const String& vertical() const; | 74 const String& vertical() const; |
75 void setVertical(const String&); | 75 void setVertical(const String&); |
76 | 76 |
77 bool snapToLines() const { return m_snapToLines; } | 77 bool snapToLines() const { return m_snapToLines; } |
78 void setSnapToLines(bool); | 78 void setSnapToLines(bool); |
79 | 79 |
80 void line(DoubleOrAutoKeyword&) const; | 80 void line(DoubleOrAutoKeyword&) const; |
81 void setLine(const DoubleOrAutoKeyword&, ExceptionState&); | 81 void setLine(const DoubleOrAutoKeyword&); |
82 | 82 |
83 void position(DoubleOrAutoKeyword&) const; | 83 void position(DoubleOrAutoKeyword&) const; |
84 void setPosition(const DoubleOrAutoKeyword&, ExceptionState&); | 84 void setPosition(const DoubleOrAutoKeyword&, ExceptionState&); |
85 | 85 |
86 double size() const { return m_cueSize; } | 86 double size() const { return m_cueSize; } |
87 void setSize(double, ExceptionState&); | 87 void setSize(double, ExceptionState&); |
88 | 88 |
89 const String& align() const; | 89 const String& align() const; |
90 void setAlign(const String&); | 90 void setAlign(const String&); |
91 | 91 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 bool m_displayTreeShouldChange : 1; | 196 bool m_displayTreeShouldChange : 1; |
197 bool m_notifyRegion : 1; | 197 bool m_notifyRegion : 1; |
198 }; | 198 }; |
199 | 199 |
200 // VTTCue is currently the only TextTrackCue subclass. | 200 // VTTCue is currently the only TextTrackCue subclass. |
201 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); | 201 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); |
202 | 202 |
203 } // namespace blink | 203 } // namespace blink |
204 | 204 |
205 #endif // VTTCue_h | 205 #endif // VTTCue_h |
OLD | NEW |