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

Side by Side Diff: Source/core/events/EventContext.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 * 24 *
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/events/EventContext.h" 28 #include "core/events/EventContext.h"
29 29
30 #include "core/events/Event.h" 30 #include "core/events/Event.h"
31 #include "core/events/FocusEvent.h" 31 #include "core/events/FocusEvent.h"
32 #include "core/events/MouseEvent.h" 32 #include "core/events/MouseEvent.h"
33 #include "core/dom/Node.h"
34 #include "core/dom/StaticNodeList.h"
35 #include "core/events/TouchEvent.h" 33 #include "core/events/TouchEvent.h"
36 #include "core/dom/TouchList.h" 34 #include "core/dom/TouchList.h"
37 35
38 namespace WebCore { 36 namespace WebCore {
39 37
40 EventContext::EventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget> curren tTarget, PassRefPtr<EventTarget> target) 38 EventContext::EventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget> curren tTarget, PassRefPtr<EventTarget> target)
41 : m_node(node) 39 : m_node(node)
42 , m_currentTarget(currentTarget) 40 , m_currentTarget(currentTarget)
43 , m_target(target) 41 , m_target(target)
44 { 42 {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 129
132 #ifndef NDEBUG 130 #ifndef NDEBUG
133 void TouchEventContext::checkReachability(TouchList* touchList) const 131 void TouchEventContext::checkReachability(TouchList* touchList) const
134 { 132 {
135 for (size_t i = 0; i < touchList->length(); ++i) 133 for (size_t i = 0; i < touchList->length(); ++i)
136 ASSERT(touchList->item(i)->target()->toNode()->treeScope().isInclusiveAn cestorOf(m_node->treeScope())); 134 ASSERT(touchList->item(i)->target()->toNode()->treeScope().isInclusiveAn cestorOf(m_node->treeScope()));
137 } 135 }
138 #endif 136 #endif
139 137
140 } 138 }
OLDNEW
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698