| 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 "base/basictypes.h" |
| 9 #include "third_party/skia/include/core/SkPath.h" | 9 #include "third_party/skia/include/core/SkPath.h" |
| 10 #include "ui/base/ui_export.h" | 10 #include "ui/gfx/gfx_export.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 | 14 |
| 15 class UI_EXPORT Path : public SkPath { | 15 class UI_EXPORT Path : public SkPath { |
| 16 public: | 16 public: |
| 17 // Used by Path(Point,size_t) constructor. | 17 // Used by Path(Point,size_t) constructor. |
| 18 struct Point { | 18 struct Point { |
| 19 int x; | 19 int x; |
| 20 int y; | 20 int y; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 gfx::NativeRegion r2); | 52 gfx::NativeRegion r2); |
| 53 #endif | 53 #endif |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 DISALLOW_COPY_AND_ASSIGN(Path); | 56 DISALLOW_COPY_AND_ASSIGN(Path); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } | 59 } |
| 60 | 60 |
| 61 #endif // UI_GFX_PATH_H_ | 61 #endif // UI_GFX_PATH_H_ |
| OLD | NEW |