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

Side by Side Diff: Source/core/dom/EventRetargeter.cpp

Issue 14519003: Absolutify paths to dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix testrunner Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/EventRetargeter.h ('k') | Source/core/dom/EventSender.h » ('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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 #include "config.h" 20 #include "config.h"
21 #include "EventRetargeter.h" 21 #include "core/dom/EventRetargeter.h"
22 22
23 #include "ContainerNode.h" 23 #include "core/dom/ContainerNode.h"
24 #include "EventContext.h" 24 #include "core/dom/EventContext.h"
25 #include "EventPathWalker.h" 25 #include "core/dom/EventPathWalker.h"
26 #include "FocusEvent.h" 26 #include "core/dom/FocusEvent.h"
27 #include "MouseEvent.h" 27 #include "core/dom/MouseEvent.h"
28 #include "ShadowRoot.h" 28 #include "core/dom/ShadowRoot.h"
29 #include "Touch.h" 29 #include "core/dom/Touch.h"
30 #include "TouchEvent.h" 30 #include "core/dom/TouchEvent.h"
31 #include "TouchList.h" 31 #include "core/dom/TouchList.h"
32 #include "TreeScope.h" 32 #include "core/dom/TreeScope.h"
33 #include <wtf/PassRefPtr.h> 33 #include <wtf/PassRefPtr.h>
34 #include <wtf/RefPtr.h> 34 #include <wtf/RefPtr.h>
35 #include <wtf/Vector.h> 35 #include <wtf/Vector.h>
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target) 39 static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target)
40 { 40 {
41 return target->toNode() && target->toNode()->treeScope()->rootNode() == shad owRoot; 41 return target->toNode() && target->toNode()->treeScope()->rootNode() == shad owRoot;
42 } 42 }
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 break; 242 break;
243 } 243 }
244 scope = scope->parentTreeScope(); 244 scope = scope->parentTreeScope();
245 } 245 }
246 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter) 246 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter)
247 relatedNodeMap.add(*iter, relatedNode); 247 relatedNodeMap.add(*iter, relatedNode);
248 return relatedNode; 248 return relatedNode;
249 } 249 }
250 250
251 } 251 }
OLDNEW
« no previous file with comments | « Source/core/dom/EventRetargeter.h ('k') | Source/core/dom/EventSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698