| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 TextTrack* track() const { return m_track; } | 57 TextTrack* track() const { return m_track; } |
| 58 void setTrack(TextTrack*); | 58 void setTrack(TextTrack*); |
| 59 | 59 |
| 60 const String& id() const { return m_id; } | 60 const String& id() const { return m_id; } |
| 61 void setId(const String&); | 61 void setId(const String&); |
| 62 | 62 |
| 63 double width() const { return m_width; } | 63 double width() const { return m_width; } |
| 64 void setWidth(double, ExceptionCode&); | 64 void setWidth(double, ExceptionCode&); |
| 65 | 65 |
| 66 long height() const { return m_heightInLines; } | 66 int height() const { return m_heightInLines; } |
| 67 void setHeight(long, ExceptionCode&); | 67 void setHeight(int, ExceptionCode&); |
| 68 | 68 |
| 69 double regionAnchorX() const { return m_regionAnchor.x(); } | 69 double regionAnchorX() const { return m_regionAnchor.x(); } |
| 70 void setRegionAnchorX(double, ExceptionCode&); | 70 void setRegionAnchorX(double, ExceptionCode&); |
| 71 | 71 |
| 72 double regionAnchorY() const { return m_regionAnchor.y(); } | 72 double regionAnchorY() const { return m_regionAnchor.y(); } |
| 73 void setRegionAnchorY(double, ExceptionCode&); | 73 void setRegionAnchorY(double, ExceptionCode&); |
| 74 | 74 |
| 75 double viewportAnchorX() const { return m_viewportAnchor.x(); } | 75 double viewportAnchorX() const { return m_viewportAnchor.x(); } |
| 76 void setViewportAnchorX(double, ExceptionCode&); | 76 void setViewportAnchorX(double, ExceptionCode&); |
| 77 | 77 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // soon as the animation for rolling out one line has finished, but | 155 // soon as the animation for rolling out one line has finished, but |
| 156 // currently it is used also for non-scrolling regions to use a single | 156 // currently it is used also for non-scrolling regions to use a single |
| 157 // code path. | 157 // code path. |
| 158 Timer<TextTrackRegion> m_scrollTimer; | 158 Timer<TextTrackRegion> m_scrollTimer; |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 } // namespace WebCore | 161 } // namespace WebCore |
| 162 | 162 |
| 163 #endif | 163 #endif |
| 164 #endif | 164 #endif |
| OLD | NEW |