| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 const AtomicString scroll() const; | 82 const AtomicString scroll() const; |
| 83 void setScroll(const AtomicString&, ExceptionState&); | 83 void setScroll(const AtomicString&, ExceptionState&); |
| 84 | 84 |
| 85 void updateParametersFromRegion(VTTRegion*); | 85 void updateParametersFromRegion(VTTRegion*); |
| 86 | 86 |
| 87 const String& regionSettings() const { return m_settings; } | 87 const String& regionSettings() const { return m_settings; } |
| 88 void setRegionSettings(const String&); | 88 void setRegionSettings(const String&); |
| 89 | 89 |
| 90 bool isScrollingRegion() { return m_scroll; } | 90 bool isScrollingRegion() { return m_scroll; } |
| 91 | 91 |
| 92 PassRefPtr<HTMLDivElement> getDisplayTree(Document&); | 92 PassRefPtrWillBeRawPtr<HTMLDivElement> getDisplayTree(Document&); |
| 93 | 93 |
| 94 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>); | 94 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>); |
| 95 void displayLastVTTCueBox(); | 95 void displayLastVTTCueBox(); |
| 96 void willRemoveVTTCueBox(VTTCueBox*); | 96 void willRemoveVTTCueBox(VTTCueBox*); |
| 97 | 97 |
| 98 void trace(Visitor*); | 98 void trace(Visitor*); |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 VTTRegion(); | 101 VTTRegion(); |
| 102 | 102 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // The timer is used to display the next cue line after the current one has | 148 // The timer is used to display the next cue line after the current one has |
| 149 // been displayed. It's main use is for scrolling regions and it triggers as | 149 // been displayed. It's main use is for scrolling regions and it triggers as |
| 150 // soon as the animation for rolling out one line has finished, but | 150 // soon as the animation for rolling out one line has finished, but |
| 151 // currently it is used also for non-scrolling regions to use a single | 151 // currently it is used also for non-scrolling regions to use a single |
| 152 // code path. | 152 // code path. |
| 153 Timer<VTTRegion> m_scrollTimer; | 153 Timer<VTTRegion> m_scrollTimer; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 } // namespace WebCore | 156 } // namespace WebCore |
| 157 #endif | 157 #endif |
| OLD | NEW |