| 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 SKIA_EXT_SKIA_UTILS_MAC_H_ | 5 #ifndef SKIA_EXT_SKIA_UTILS_MAC_H_ |
| 6 #define SKIA_EXT_SKIA_UTILS_MAC_H_ | 6 #define SKIA_EXT_SKIA_UTILS_MAC_H_ |
| 7 | 7 |
| 8 #include <ApplicationServices/ApplicationServices.h> | 8 #include <ApplicationServices/ApplicationServices.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "third_party/skia/include/core/SkBitmap.h" | 11 #include "third_party/skia/include/core/SkBitmap.h" |
| 12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
| 13 #include "third_party/skia/include/core/SkPixmap.h" | 13 #include "third_party/skia/include/core/SkPixmap.h" |
| 14 | 14 |
| 15 struct SkIRect; | 15 struct SkIRect; |
| 16 struct SkPoint; | |
| 17 struct SkRect; | 16 struct SkRect; |
| 18 class SkCanvas; | 17 class SkCanvas; |
| 19 class SkMatrix; | 18 class SkMatrix; |
| 20 #ifdef __LP64__ | 19 #ifdef __LP64__ |
| 21 typedef CGSize NSSize; | 20 typedef CGSize NSSize; |
| 22 #else | 21 #else |
| 23 typedef struct _NSSize NSSize; | 22 typedef struct _NSSize NSSize; |
| 24 #endif | 23 #endif |
| 25 | 24 |
| 26 #ifdef __OBJC__ | 25 #ifdef __OBJC__ |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // a non-NULL CGContext (it is invalid to use a NULL CGContext), and will not | 131 // a non-NULL CGContext (it is invalid to use a NULL CGContext), and will not |
| 133 // be copied to |canvas_|. This will happen if |canvas_|'s clip region is | 132 // be copied to |canvas_|. This will happen if |canvas_|'s clip region is |
| 134 // empty. | 133 // empty. |
| 135 bool bitmapIsDummy_; | 134 bool bitmapIsDummy_; |
| 136 }; | 135 }; |
| 137 | 136 |
| 138 | 137 |
| 139 } // namespace skia | 138 } // namespace skia |
| 140 | 139 |
| 141 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_ | 140 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_ |
| OLD | NEW |