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

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

Issue 19010006: core/dom: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rm extra blank line Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/EventQueue.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
(...skipping 14 matching lines...) Expand all
25 #include "core/dom/EventContext.h" 25 #include "core/dom/EventContext.h"
26 #include "core/dom/EventPathWalker.h" 26 #include "core/dom/EventPathWalker.h"
27 #include "core/dom/FocusEvent.h" 27 #include "core/dom/FocusEvent.h"
28 #include "core/dom/FullscreenController.h" 28 #include "core/dom/FullscreenController.h"
29 #include "core/dom/MouseEvent.h" 29 #include "core/dom/MouseEvent.h"
30 #include "core/dom/Touch.h" 30 #include "core/dom/Touch.h"
31 #include "core/dom/TouchEvent.h" 31 #include "core/dom/TouchEvent.h"
32 #include "core/dom/TouchList.h" 32 #include "core/dom/TouchList.h"
33 #include "core/dom/TreeScope.h" 33 #include "core/dom/TreeScope.h"
34 #include "core/dom/shadow/ShadowRoot.h" 34 #include "core/dom/shadow/ShadowRoot.h"
35 #include <wtf/PassRefPtr.h> 35 #include "wtf/PassRefPtr.h"
36 #include <wtf/RefPtr.h> 36 #include "wtf/RefPtr.h"
37 #include <wtf/Vector.h> 37 #include "wtf/Vector.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target) 41 static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target)
42 { 42 {
43 return target->toNode() && target->toNode()->treeScope()->rootNode() == shad owRoot; 43 return target->toNode() && target->toNode()->treeScope()->rootNode() == shad owRoot;
44 } 44 }
45 45
46 static inline EventDispatchBehavior determineDispatchBehavior(Event* event, Shad owRoot* shadowRoot, EventTarget* target) 46 static inline EventDispatchBehavior determineDispatchBehavior(Event* event, Shad owRoot* shadowRoot, EventTarget* target)
47 { 47 {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 break; 274 break;
275 } 275 }
276 scope = scope->parentTreeScope(); 276 scope = scope->parentTreeScope();
277 } 277 }
278 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter) 278 for (Vector<TreeScope*, 32>::iterator iter = parentTreeScopes.begin(); iter < parentTreeScopes.end(); ++iter)
279 relatedNodeMap.add(*iter, relatedNode); 279 relatedNodeMap.add(*iter, relatedNode);
280 return relatedNode; 280 return relatedNode;
281 } 281 }
282 282
283 } 283 }
OLDNEW
« no previous file with comments | « Source/core/dom/EventQueue.h ('k') | Source/core/dom/EventSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698