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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLTrackElement.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unintended exception message change Created 4 years, 4 months 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
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 28 matching lines...) Expand all
39 class HTMLTrackElement final : public HTMLElement, private TextTrackLoaderClient { 39 class HTMLTrackElement final : public HTMLElement, private TextTrackLoaderClient {
40 DEFINE_WRAPPERTYPEINFO(); 40 DEFINE_WRAPPERTYPEINFO();
41 USING_GARBAGE_COLLECTED_MIXIN(HTMLTrackElement); 41 USING_GARBAGE_COLLECTED_MIXIN(HTMLTrackElement);
42 public: 42 public:
43 DECLARE_NODE_FACTORY(HTMLTrackElement); 43 DECLARE_NODE_FACTORY(HTMLTrackElement);
44 44
45 const AtomicString& kind(); 45 const AtomicString& kind();
46 void setKind(const AtomicString&); 46 void setKind(const AtomicString&);
47 47
48 enum ReadyState { 48 enum ReadyState {
49 NONE = 0, 49 kNone = 0,
50 LOADING = 1, 50 kLoading = 1,
51 LOADED = 2, 51 kLoaded = 2,
52 TRACK_ERROR = 3 52 TRACK_ERROR = 3
tkent 2016/07/27 03:23:47 Remove Reflect=TRACK_ERROR in the IDL, and use kEr
iclelland 2016/07/27 14:07:06 Done, thanks!
53 }; 53 };
54 ReadyState getReadyState(); 54 ReadyState getReadyState();
55 void scheduleLoad(); 55 void scheduleLoad();
56 56
57 TextTrack* track(); 57 TextTrack* track();
58 58
59 DECLARE_VIRTUAL_TRACE(); 59 DECLARE_VIRTUAL_TRACE();
60 60
61 private: 61 private:
62 explicit HTMLTrackElement(Document&); 62 explicit HTMLTrackElement(Document&);
(...skipping 29 matching lines...) Expand all
92 92
93 Member<LoadableTextTrack> m_track; 93 Member<LoadableTextTrack> m_track;
94 Member<TextTrackLoader> m_loader; 94 Member<TextTrackLoader> m_loader;
95 Timer<HTMLTrackElement> m_loadTimer; 95 Timer<HTMLTrackElement> m_loadTimer;
96 KURL m_url; 96 KURL m_url;
97 }; 97 };
98 98
99 } // namespace blink 99 } // namespace blink
100 100
101 #endif // HTMLTrackElement_h 101 #endif // HTMLTrackElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698