OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 void markFutureAndPastNodes(ContainerNode*, double, double); | 151 void markFutureAndPastNodes(ContainerNode*, double, double); |
152 | 152 |
153 int calculateComputedLinePosition(); | 153 int calculateComputedLinePosition(); |
154 | 154 |
155 virtual const AtomicString& interfaceName() const; | 155 virtual const AtomicString& interfaceName() const; |
156 virtual ScriptExecutionContext* scriptExecutionContext() const; | 156 virtual ScriptExecutionContext* scriptExecutionContext() const; |
157 | 157 |
158 std::pair<double, double> getCSSPosition() const; | 158 std::pair<double, double> getCSSPosition() const; |
159 | 159 |
160 int getCSSSize() const; | 160 int getCSSSize() const; |
161 int getCSSWritingDirection() const; | 161 CSSValueID getCSSWritingDirection() const; |
162 int getCSSWritingMode() const; | 162 CSSValueID getCSSWritingMode() const; |
163 | 163 |
164 enum WritingDirection { | 164 enum WritingDirection { |
165 Horizontal, | 165 Horizontal, |
166 VerticalGrowingLeft, | 166 VerticalGrowingLeft, |
167 VerticalGrowingRight, | 167 VerticalGrowingRight, |
168 NumberOfWritingDirections | 168 NumberOfWritingDirections |
169 }; | 169 }; |
170 WritingDirection getWritingDirection() const { return m_writingDirection; } | 170 WritingDirection getWritingDirection() const { return m_writingDirection; } |
171 | 171 |
172 enum CueAlignment { | 172 enum CueAlignment { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 259 |
260 bool m_isActive; | 260 bool m_isActive; |
261 bool m_pauseOnExit; | 261 bool m_pauseOnExit; |
262 bool m_snapToLines; | 262 bool m_snapToLines; |
263 | 263 |
264 RefPtr<HTMLDivElement> m_cueBackgroundBox; | 264 RefPtr<HTMLDivElement> m_cueBackgroundBox; |
265 | 265 |
266 bool m_displayTreeShouldChange; | 266 bool m_displayTreeShouldChange; |
267 RefPtr<TextTrackCueBox> m_displayTree; | 267 RefPtr<TextTrackCueBox> m_displayTree; |
268 | 268 |
269 int m_displayDirection; | 269 CSSValueID m_displayDirection; |
270 | 270 |
271 int m_displayWritingModeMap[NumberOfWritingDirections]; | 271 CSSValueID m_displayWritingModeMap[NumberOfWritingDirections]; |
272 int m_displayWritingMode; | 272 CSSValueID m_displayWritingMode; |
273 | 273 |
274 int m_displaySize; | 274 int m_displaySize; |
275 | 275 |
276 std::pair<float, float> m_displayPosition; | 276 std::pair<float, float> m_displayPosition; |
277 #if ENABLE(WEBVTT_REGIONS) | 277 #if ENABLE(WEBVTT_REGIONS) |
278 String m_regionId; | 278 String m_regionId; |
279 #endif | 279 #endif |
280 }; | 280 }; |
281 | 281 |
282 } // namespace WebCore | 282 } // namespace WebCore |
283 | 283 |
284 #endif | 284 #endif |
OLD | NEW |