| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void setRegionId(const String&); | 140 void setRegionId(const String&); |
| 141 #endif | 141 #endif |
| 142 | 142 |
| 143 bool isActive(); | 143 bool isActive(); |
| 144 void setIsActive(bool); | 144 void setIsActive(bool); |
| 145 | 145 |
| 146 bool hasDisplayTree() const { return m_displayTree; } | 146 bool hasDisplayTree() const { return m_displayTree; } |
| 147 PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize); | 147 PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize); |
| 148 PassRefPtr<HTMLDivElement> element() const { return m_cueBackgroundBox; } | 148 PassRefPtr<HTMLDivElement> element() const { return m_cueBackgroundBox; } |
| 149 | 149 |
| 150 void updateDisplayTree(float); | 150 void updateDisplayTree(double); |
| 151 void removeDisplayTree(); | 151 void removeDisplayTree(); |
| 152 void markFutureAndPastNodes(ContainerNode*, double, double); | 152 void markFutureAndPastNodes(ContainerNode*, double, double); |
| 153 | 153 |
| 154 int calculateComputedLinePosition(); | 154 int calculateComputedLinePosition(); |
| 155 | 155 |
| 156 virtual const AtomicString& interfaceName() const; | 156 virtual const AtomicString& interfaceName() const; |
| 157 virtual ScriptExecutionContext* scriptExecutionContext() const; | 157 virtual ScriptExecutionContext* scriptExecutionContext() const; |
| 158 | 158 |
| 159 std::pair<double, double> getCSSPosition() const; | 159 std::pair<double, double> getCSSPosition() const; |
| 160 | 160 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 std::pair<float, float> m_displayPosition; | 277 std::pair<float, float> m_displayPosition; |
| 278 #if ENABLE(WEBVTT_REGIONS) | 278 #if ENABLE(WEBVTT_REGIONS) |
| 279 String m_regionId; | 279 String m_regionId; |
| 280 #endif | 280 #endif |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 } // namespace WebCore | 283 } // namespace WebCore |
| 284 | 284 |
| 285 #endif | 285 #endif |
| 286 #endif | 286 #endif |
| OLD | NEW |