| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/events/VisualViewportScrollEvent.h" |
| 6 |
| 7 #include "core/frame/UseCounter.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 VisualViewportScrollEvent::~VisualViewportScrollEvent() |
| 12 { |
| 13 } |
| 14 |
| 15 VisualViewportScrollEvent::VisualViewportScrollEvent() |
| 16 : Event(EventTypeNames::scroll, false, false) // non-bubbling non-cancellabl
e |
| 17 { |
| 18 } |
| 19 |
| 20 void VisualViewportScrollEvent::doneDispatchingEventAtCurrentTarget() |
| 21 { |
| 22 UseCounter::count(currentTarget()->getExecutionContext(), |
| 23 UseCounter::VisualViewportScrollFired); |
| 24 } |
| 25 |
| 26 } // namespace blink |
| 27 |
| 28 |
| 29 |
| OLD | NEW |