| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_GFX_PATH_H_ | 5 #ifndef UI_GFX_PATH_H_ |
| 6 #define UI_GFX_PATH_H_ | 6 #define UI_GFX_PATH_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
| 9 #include "third_party/skia/include/core/SkPath.h" | 11 #include "third_party/skia/include/core/SkPath.h" |
| 10 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 12 | 14 |
| 13 namespace gfx { | 15 namespace gfx { |
| 14 | 16 |
| 15 class GFX_EXPORT Path : public SkPath { | 17 class GFX_EXPORT Path : public SkPath { |
| 16 public: | 18 public: |
| 17 // Used by Path(Point,size_t) constructor. | 19 // Used by Path(Point,size_t) constructor. |
| 18 struct Point { | 20 struct Point { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 32 | 34 |
| 33 ~Path(); | 35 ~Path(); |
| 34 | 36 |
| 35 private: | 37 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(Path); | 38 DISALLOW_COPY_AND_ASSIGN(Path); |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 } | 41 } |
| 40 | 42 |
| 41 #endif // UI_GFX_PATH_H_ | 43 #endif // UI_GFX_PATH_H_ |
| OLD | NEW |