OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef AutoplayUmaHelper_h | 5 #ifndef AutoplayUmaHelper_h |
6 #define AutoplayUmaHelper_h | 6 #define AutoplayUmaHelper_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/dom/ContextLifecycleObserver.h" | 9 #include "core/dom/ContextLifecycleObserver.h" |
10 #include "core/events/EventListener.h" | 10 #include "core/events/EventListener.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // The observer is used to observer an autoplaying muted video changing it's | 140 // The observer is used to observer an autoplaying muted video changing it's |
141 // visibility, which is used for offscreen duration UMA. The UMA is pending | 141 // visibility, which is used for offscreen duration UMA. The UMA is pending |
142 // for recording as long as this observer is non-null. | 142 // for recording as long as this observer is non-null. |
143 Member<ElementVisibilityObserver> | 143 Member<ElementVisibilityObserver> |
144 m_mutedVideoOffscreenDurationVisibilityObserver; | 144 m_mutedVideoOffscreenDurationVisibilityObserver; |
145 }; | 145 }; |
146 | 146 |
147 } // namespace blink | 147 } // namespace blink |
148 | 148 |
149 #endif // AutoplayUmaHelper_h | 149 #endif // AutoplayUmaHelper_h |
OLD | NEW |