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

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

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 9 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 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 DEFINE_ATTRIBUTE_EVENT_LISTENER(enter); 102 DEFINE_ATTRIBUTE_EVENT_LISTENER(enter);
103 DEFINE_ATTRIBUTE_EVENT_LISTENER(exit); 103 DEFINE_ATTRIBUTE_EVENT_LISTENER(exit);
104 104
105 DECLARE_VIRTUAL_TRACE(); 105 DECLARE_VIRTUAL_TRACE();
106 106
107 protected: 107 protected:
108 TextTrackCue(double start, double end); 108 TextTrackCue(double start, double end);
109 109
110 void cueWillChange(); 110 void cueWillChange();
111 virtual void cueDidChange(); 111 virtual void cueDidChange();
112 bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override; 112 DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) ove rride;
113 113
114 private: 114 private:
115 AtomicString m_id; 115 AtomicString m_id;
116 double m_startTime; 116 double m_startTime;
117 double m_endTime; 117 double m_endTime;
118 118
119 Member<TextTrack> m_track; 119 Member<TextTrack> m_track;
120 120
121 unsigned m_cueIndex; 121 unsigned m_cueIndex;
122 122
123 bool m_isActive : 1; 123 bool m_isActive : 1;
124 bool m_pauseOnExit : 1; 124 bool m_pauseOnExit : 1;
125 }; 125 };
126 126
127 } // namespace blink 127 } // namespace blink
128 128
129 #endif // TextTrackCue_h 129 #endif // TextTrackCue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormElement.cpp ('k') | third_party/WebKit/Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698