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

Side by Side Diff: Source/core/events/EventRetargeter.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/EventDispatcher.cpp ('k') | Source/core/events/MessageEvent.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 16 matching lines...) Expand all
27 #include "core/dom/TouchList.h" 27 #include "core/dom/TouchList.h"
28 #include "core/dom/TreeScope.h" 28 #include "core/dom/TreeScope.h"
29 #include "core/dom/shadow/InsertionPoint.h" 29 #include "core/dom/shadow/InsertionPoint.h"
30 #include "core/dom/shadow/ShadowRoot.h" 30 #include "core/dom/shadow/ShadowRoot.h"
31 #include "core/events/EventContext.h" 31 #include "core/events/EventContext.h"
32 #include "core/events/EventPath.h" 32 #include "core/events/EventPath.h"
33 #include "core/events/FocusEvent.h" 33 #include "core/events/FocusEvent.h"
34 #include "core/events/MouseEvent.h" 34 #include "core/events/MouseEvent.h"
35 #include "core/events/TouchEvent.h" 35 #include "core/events/TouchEvent.h"
36 #include "wtf/PassRefPtr.h" 36 #include "wtf/PassRefPtr.h"
37 #include "wtf/RefPtr.h"
38 #include "wtf/Vector.h"
39 37
40 namespace WebCore { 38 namespace WebCore {
41 39
42 void EventRetargeter::adjustForMouseEvent(Node* node, MouseEvent& mouseEvent) 40 void EventRetargeter::adjustForMouseEvent(Node* node, MouseEvent& mouseEvent)
43 { 41 {
44 adjustForRelatedTarget(node, mouseEvent.relatedTarget(), mouseEvent.eventPat h()); 42 adjustForRelatedTarget(node, mouseEvent.relatedTarget(), mouseEvent.eventPat h());
45 } 43 }
46 44
47 void EventRetargeter::adjustForFocusEvent(Node* node, FocusEvent& focusEvent) 45 void EventRetargeter::adjustForFocusEvent(Node* node, FocusEvent& focusEvent)
48 { 46 {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 break; 165 break;
168 } 166 }
169 scope = scope->parentTreeScope(); 167 scope = scope->parentTreeScope();
170 } 168 }
171 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter) 169 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter)
172 relatedTargetMap.add(*iter, relatedNode); 170 relatedTargetMap.add(*iter, relatedNode);
173 return relatedNode; 171 return relatedNode;
174 } 172 }
175 173
176 } 174 }
OLDNEW
« no previous file with comments | « Source/core/events/EventDispatcher.cpp ('k') | Source/core/events/MessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698