OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
6 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 if (capturedMouseDown) { | 704 if (capturedMouseDown) { |
705 double mouseDownDuration = convertDOMTimeStampToSeconds(event->timeStamp
() - m_mouseDownTimestamp); | 705 double mouseDownDuration = convertDOMTimeStampToSeconds(event->timeStamp
() - m_mouseDownTimestamp); |
706 | 706 |
707 HistogramSupport::histogramCustomCounts("MouseEventPrefetch.MouseDownDur
ation_Click", mouseDownDuration * 1000, 0, 10000, 100); | 707 HistogramSupport::histogramCustomCounts("MouseEventPrefetch.MouseDownDur
ation_Click", mouseDownDuration * 1000, 0, 10000, 100); |
708 } | 708 } |
709 | 709 |
710 m_mouseOverTimestamp = 0; | 710 m_mouseOverTimestamp = 0; |
711 m_mouseDownTimestamp = 0; | 711 m_mouseDownTimestamp = 0; |
712 } | 712 } |
713 | 713 |
| 714 void HTMLAnchorElement::acceptHeapVisitor(Visitor* visitor) const |
| 715 { |
| 716 HTMLElement::acceptHeapVisitor(visitor); |
714 } | 717 } |
| 718 |
| 719 } |
OLD | NEW |