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

Side by Side Diff: third_party/WebKit/Source/core/events/TreeScopeEventContext.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All Rights Reserved. 2 * Copyright (C) 2014 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 13 matching lines...) Expand all
24 * 24 *
25 */ 25 */
26 26
27 #ifndef TreeScopeEventContext_h 27 #ifndef TreeScopeEventContext_h
28 #define TreeScopeEventContext_h 28 #define TreeScopeEventContext_h
29 29
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/dom/Node.h" 31 #include "core/dom/Node.h"
32 #include "core/dom/TreeScope.h" 32 #include "core/dom/TreeScope.h"
33 #include "core/events/EventTarget.h" 33 #include "core/events/EventTarget.h"
34 #include "wtf/PassRefPtr.h"
35 #include "wtf/RefPtr.h"
36 #include "wtf/Vector.h" 34 #include "wtf/Vector.h"
37 35
38 namespace blink { 36 namespace blink {
39 37
40 class EventPath; 38 class EventPath;
41 class EventTarget; 39 class EventTarget;
42 class Node; 40 class Node;
43 template <typename NodeType> class StaticNodeTypeList; 41 template <typename NodeType> class StaticNodeTypeList;
44 using StaticNodeList = StaticNodeTypeList<Node>; 42 using StaticNodeList = StaticNodeTypeList<Node>;
45 class TouchEventContext; 43 class TouchEventContext;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 { 136 {
139 ASSERT(m_preOrder != -1 && m_postOrder != -1 && other.m_preOrder != -1 && ot her.m_postOrder != -1); 137 ASSERT(m_preOrder != -1 && m_postOrder != -1 && other.m_preOrder != -1 && ot her.m_postOrder != -1);
140 return (m_preOrder < other.m_preOrder && m_postOrder < other.m_preOrder) 138 return (m_preOrder < other.m_preOrder && m_postOrder < other.m_preOrder)
141 || (m_preOrder > other.m_preOrder && m_preOrder > other.m_postOrder); 139 || (m_preOrder > other.m_preOrder && m_preOrder > other.m_postOrder);
142 } 140 }
143 #endif 141 #endif
144 142
145 } // namespace blink 143 } // namespace blink
146 144
147 #endif // TreeScopeEventContext_h 145 #endif // TreeScopeEventContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/TouchEventContext.h ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698