| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void createNewCue(); | 130 void createNewCue(); |
| 131 void resetCueValues(); | 131 void resetCueValues(); |
| 132 | 132 |
| 133 void collectMetadataHeader(const String&); | 133 void collectMetadataHeader(const String&); |
| 134 void createNewRegion(const String& headerValue); | 134 void createNewRegion(const String& headerValue); |
| 135 | 135 |
| 136 static void skipWhiteSpace(const String&, unsigned*); | 136 static void skipWhiteSpace(const String&, unsigned*); |
| 137 | 137 |
| 138 BufferedLineReader m_lineReader; | 138 BufferedLineReader m_lineReader; |
| 139 OwnPtr<TextResourceDecoder> m_decoder; | 139 OwnPtr<TextResourceDecoder> m_decoder; |
| 140 String m_currentId; | 140 AtomicString m_currentId; |
| 141 double m_currentStartTime; | 141 double m_currentStartTime; |
| 142 double m_currentEndTime; | 142 double m_currentEndTime; |
| 143 StringBuilder m_currentContent; | 143 StringBuilder m_currentContent; |
| 144 String m_currentSettings; | 144 String m_currentSettings; |
| 145 | 145 |
| 146 VTTParserClient* m_client; | 146 VTTParserClient* m_client; |
| 147 | 147 |
| 148 Vector<RefPtr<VTTCue> > m_cuelist; | 148 Vector<RefPtr<VTTCue> > m_cuelist; |
| 149 | 149 |
| 150 Vector<RefPtr<VTTRegion> > m_regionList; | 150 Vector<RefPtr<VTTRegion> > m_regionList; |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace WebCore | 153 } // namespace WebCore |
| 154 | 154 |
| 155 #endif | 155 #endif |
| OLD | NEW |