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

Side by Side Diff: third_party/WebKit/Source/core/layout/HitTestLocation.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 19 matching lines...) Expand all
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 #include "wtf/ListHashSet.h" 31 #include "wtf/ListHashSet.h"
32 #include "wtf/OwnPtr.h" 32 #include "wtf/OwnPtr.h"
33 #include "wtf/RefPtr.h" 33 #include "wtf/RefPtr.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class FloatRoundedRect; 37 class FloatRoundedRect;
38 38
39 class CORE_EXPORT HitTestLocation { 39 class CORE_EXPORT HitTestLocation {
40 DISALLOW_ALLOCATION(); 40 DISALLOW_NEW();
41 public: 41 public:
42 42
43 // Note that all points are in contents (aka "page") coordinate space for th e 43 // Note that all points are in contents (aka "page") coordinate space for th e
44 // document that is being hit tested. 44 // document that is being hit tested.
45 HitTestLocation(); 45 HitTestLocation();
46 HitTestLocation(const LayoutPoint&); 46 HitTestLocation(const LayoutPoint&);
47 HitTestLocation(const FloatPoint&); 47 HitTestLocation(const FloatPoint&);
48 HitTestLocation(const FloatPoint&, const FloatQuad&); 48 HitTestLocation(const FloatPoint&, const FloatQuad&);
49 // Pass non-zero padding values to perform a rect-based hit test. 49 // Pass non-zero padding values to perform a rect-based hit test.
50 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne d rightPadding, unsigned bottomPadding, unsigned leftPadding); 50 HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigne d rightPadding, unsigned bottomPadding, unsigned leftPadding);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 FloatPoint m_transformedPoint; 87 FloatPoint m_transformedPoint;
88 FloatQuad m_transformedRect; 88 FloatQuad m_transformedRect;
89 89
90 bool m_isRectBased; 90 bool m_isRectBased;
91 bool m_isRectilinear; 91 bool m_isRectilinear;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // HitTestLocation_h 96 #endif // HitTestLocation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698