| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <ApplicationServices/ApplicationServices.h> | 9 #include <CoreGraphics/CGColor.h> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
| 13 | 13 |
| 14 struct SkIRect; | 14 struct SkIRect; |
| 15 struct SkPoint; | 15 struct SkPoint; |
| 16 struct SkRect; | 16 struct SkRect; |
| 17 class SkBitmap; | 17 class SkBitmap; |
| 18 class SkCanvas; | 18 class SkCanvas; |
| 19 class SkMatrix; | 19 class SkMatrix; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 private: | 103 private: |
| 104 void releaseIfNeeded(); | 104 void releaseIfNeeded(); |
| 105 SkCanvas* canvas_; | 105 SkCanvas* canvas_; |
| 106 CGContextRef cgContext_; | 106 CGContextRef cgContext_; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 | 109 |
| 110 } // namespace gfx | 110 } // namespace gfx |
| 111 | 111 |
| 112 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_ | 112 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_ |
| OLD | NEW |