| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 #ifndef CC_RESOURCES_LAYER_QUAD_H_ | 6 #ifndef CC_RESOURCES_LAYER_QUAD_H_ |
| 7 #define CC_RESOURCES_LAYER_QUAD_H_ | 7 #define CC_RESOURCES_LAYER_QUAD_H_ |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "ui/gfx/point_f.h" | 11 #include "ui/gfx/geometry/point_f.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 class QuadF; | 14 class QuadF; |
| 15 } | 15 } |
| 16 | 16 |
| 17 static const float kAntiAliasingInflateDistance = 0.5f; | 17 static const float kAntiAliasingInflateDistance = 0.5f; |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 class CC_EXPORT LayerQuad { | 21 class CC_EXPORT LayerQuad { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 Edge top_; | 105 Edge top_; |
| 106 Edge right_; | 106 Edge right_; |
| 107 Edge bottom_; | 107 Edge bottom_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(LayerQuad); | 109 DISALLOW_COPY_AND_ASSIGN(LayerQuad); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace cc | 112 } // namespace cc |
| 113 | 113 |
| 114 #endif // CC_RESOURCES_LAYER_QUAD_H_ | 114 #endif // CC_RESOURCES_LAYER_QUAD_H_ |
| OLD | NEW |