Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: Source/core/html/track/WebVTTParser.h

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.h ('k') | Source/core/inspector/DOMPatchSupport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 class WebVTTParserClient { 49 class WebVTTParserClient {
50 public: 50 public:
51 virtual ~WebVTTParserClient() { } 51 virtual ~WebVTTParserClient() { }
52 52
53 virtual void newCuesParsed() = 0; 53 virtual void newCuesParsed() = 0;
54 virtual void newRegionsParsed() = 0; 54 virtual void newRegionsParsed() = 0;
55 virtual void fileFailedToParse() = 0; 55 virtual void fileFailedToParse() = 0;
56 }; 56 };
57 57
58 class WebVTTParser { 58 class WebVTTParser FINAL {
59 public: 59 public:
60 enum ParseState { 60 enum ParseState {
61 Initial, 61 Initial,
62 Header, 62 Header,
63 Id, 63 Id,
64 TimingsAndSettings, 64 TimingsAndSettings,
65 CueText, 65 CueText,
66 BadCue 66 BadCue
67 }; 67 };
68 68
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 Vector<AtomicString> m_languageStack; 152 Vector<AtomicString> m_languageStack;
153 Vector<RefPtr<TextTrackCue> > m_cuelist; 153 Vector<RefPtr<TextTrackCue> > m_cuelist;
154 154
155 Vector<RefPtr<TextTrackRegion> > m_regionList; 155 Vector<RefPtr<TextTrackRegion> > m_regionList;
156 }; 156 };
157 157
158 } // namespace WebCore 158 } // namespace WebCore
159 159
160 #endif 160 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.h ('k') | Source/core/inspector/DOMPatchSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698