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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutGeometryMap.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) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple 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 27 matching lines...) Expand all
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class PaintLayer; 41 class PaintLayer;
42 class LayoutBoxModelObject; 42 class LayoutBoxModelObject;
43 class TransformationMatrix; 43 class TransformationMatrix;
44 class TransformState; 44 class TransformState;
45 45
46 // Can be used while walking the layout tree to cache data about offsets and tra nsforms. 46 // Can be used while walking the layout tree to cache data about offsets and tra nsforms.
47 class CORE_EXPORT LayoutGeometryMap { 47 class CORE_EXPORT LayoutGeometryMap {
48 DISALLOW_ALLOCATION(); 48 DISALLOW_NEW();
49 WTF_MAKE_NONCOPYABLE(LayoutGeometryMap); 49 WTF_MAKE_NONCOPYABLE(LayoutGeometryMap);
50 public: 50 public:
51 LayoutGeometryMap(MapCoordinatesFlags = UseTransforms); 51 LayoutGeometryMap(MapCoordinatesFlags = UseTransforms);
52 ~LayoutGeometryMap(); 52 ~LayoutGeometryMap();
53 53
54 MapCoordinatesFlags mapCoordinatesFlags() const { return m_mapCoordinatesFla gs; } 54 MapCoordinatesFlags mapCoordinatesFlags() const { return m_mapCoordinatesFla gs; }
55 55
56 FloatRect absoluteRect(const FloatRect& rect) const 56 FloatRect absoluteRect(const FloatRect& rect) const
57 { 57 {
58 return mapToContainer(rect, 0).boundingBox(); 58 return mapToContainer(rect, 0).boundingBox();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 int m_transformedStepsCount; 102 int m_transformedStepsCount;
103 int m_fixedStepsCount; 103 int m_fixedStepsCount;
104 LayoutGeometryMapSteps m_mapping; 104 LayoutGeometryMapSteps m_mapping;
105 LayoutSize m_accumulatedOffset; 105 LayoutSize m_accumulatedOffset;
106 MapCoordinatesFlags m_mapCoordinatesFlags; 106 MapCoordinatesFlags m_mapCoordinatesFlags;
107 }; 107 };
108 108
109 } // namespace blink 109 } // namespace blink
110 110
111 #endif // LayoutGeometryMap_h 111 #endif // LayoutGeometryMap_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFrameSet.h ('k') | third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698