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

Side by Side Diff: third_party/WebKit/Source/core/events/Event.cpp

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 17 matching lines...) Expand all
28 #include "core/frame/HostsUsingFeatures.h" 28 #include "core/frame/HostsUsingFeatures.h"
29 #include "core/frame/UseCounter.h" 29 #include "core/frame/UseCounter.h"
30 #include "core/svg/SVGElement.h" 30 #include "core/svg/SVGElement.h"
31 #include "core/timing/DOMWindowPerformance.h" 31 #include "core/timing/DOMWindowPerformance.h"
32 #include "core/timing/Performance.h" 32 #include "core/timing/Performance.h"
33 #include "wtf/CurrentTime.h" 33 #include "wtf/CurrentTime.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 static bool isEventTypeScopedInV0(const AtomicString& eventType) { 37 static bool isEventTypeScopedInV0(const AtomicString& eventType) {
38 // WebKit never allowed selectstart event to cross the the shadow DOM boundary . 38 // WebKit never allowed selectstart event to cross the the shadow DOM
39 // Changing this breaks existing sites. 39 // boundary. Changing this breaks existing sites.
40 // See https://bugs.webkit.org/show_bug.cgi?id=52195 for details. 40 // See https://bugs.webkit.org/show_bug.cgi?id=52195 for details.
41 return eventType == EventTypeNames::abort || 41 return eventType == EventTypeNames::abort ||
42 eventType == EventTypeNames::change || 42 eventType == EventTypeNames::change ||
43 eventType == EventTypeNames::error || 43 eventType == EventTypeNames::error ||
44 eventType == EventTypeNames::load || 44 eventType == EventTypeNames::load ||
45 eventType == EventTypeNames::reset || 45 eventType == EventTypeNames::reset ||
46 eventType == EventTypeNames::resize || 46 eventType == EventTypeNames::resize ||
47 eventType == EventTypeNames::scroll || 47 eventType == EventTypeNames::scroll ||
48 eventType == EventTypeNames::select || 48 eventType == EventTypeNames::select ||
49 eventType == EventTypeNames::selectstart || 49 eventType == EventTypeNames::selectstart ||
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 365
366 DEFINE_TRACE(Event) { 366 DEFINE_TRACE(Event) {
367 visitor->trace(m_currentTarget); 367 visitor->trace(m_currentTarget);
368 visitor->trace(m_target); 368 visitor->trace(m_target);
369 visitor->trace(m_underlyingEvent); 369 visitor->trace(m_underlyingEvent);
370 visitor->trace(m_eventPath); 370 visitor->trace(m_eventPath);
371 } 371 }
372 372
373 } // namespace blink 373 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.h ('k') | third_party/WebKit/Source/core/events/EventDispatchResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698