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

Side by Side Diff: third_party/WebKit/Source/core/layout/HitTestResult.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class LocalFrame; 43 class LocalFrame;
44 class HTMLAreaElement; 44 class HTMLAreaElement;
45 class HTMLMediaElement; 45 class HTMLMediaElement;
46 class Image; 46 class Image;
47 class KURL; 47 class KURL;
48 class Node; 48 class Node;
49 class LayoutObject; 49 class LayoutObject;
50 class Scrollbar; 50 class Scrollbar;
51 51
52 class CORE_EXPORT HitTestResult { 52 class CORE_EXPORT HitTestResult {
53 ALLOW_ONLY_INLINE_ALLOCATION(); 53 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
54 54
55 public: 55 public:
56 typedef WillBeHeapListHashSet<RefPtrWillBeMember<Node>> NodeSet; 56 typedef WillBeHeapListHashSet<RefPtrWillBeMember<Node>> NodeSet;
57 57
58 HitTestResult(); 58 HitTestResult();
59 HitTestResult(const HitTestRequest&, const LayoutPoint&); 59 HitTestResult(const HitTestRequest&, const LayoutPoint&);
60 // Pass positive padding values to perform a rect-based hit test. 60 // Pass positive padding values to perform a rect-based hit test.
61 HitTestResult(const HitTestRequest&, const LayoutPoint& centerPoint, unsigne d topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPaddin g); 61 HitTestResult(const HitTestRequest&, const LayoutPoint& centerPoint, unsigne d topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPaddin g);
62 HitTestResult(const HitTestRequest&, const HitTestLocation&); 62 HitTestResult(const HitTestRequest&, const HitTestLocation&);
63 HitTestResult(const HitTestResult&); 63 HitTestResult(const HitTestResult&);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a LayoutPart for example). 168 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a LayoutPart for example).
169 169
170 mutable OwnPtrWillBeMember<NodeSet> m_listBasedTestResult; 170 mutable OwnPtrWillBeMember<NodeSet> m_listBasedTestResult;
171 }; 171 };
172 172
173 } // namespace blink 173 } // namespace blink
174 174
175 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult); 175 WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
176 176
177 #endif // HitTestResult_h 177 #endif // HitTestResult_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/HitTestRequest.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698