Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: skia/ext/bitmap_platform_device_mac.h

Issue 1540963004: Switch to standard integer types in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_BITMAP_PLATFORM_DEVICE_MAC_H_ 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_ 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
10 #include "skia/ext/platform_device.h" 12 #include "skia/ext/platform_device.h"
11 #include "skia/ext/refptr.h" 13 #include "skia/ext/refptr.h"
12 14
13 namespace skia { 15 namespace skia {
14 16
15 // A device is basically a wrapper around SkBitmap that provides a surface for 17 // A device is basically a wrapper around SkBitmap that provides a surface for
16 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also 18 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also
17 // write to. BitmapPlatformDevice creates a bitmap using 19 // write to. BitmapPlatformDevice creates a bitmap using
18 // CGCreateBitmapContext() in a format that Skia supports and can then use this 20 // CGCreateBitmapContext() in a format that Skia supports and can then use this
19 // to draw text into, etc. This pixel data is provided to the bitmap that the 21 // to draw text into, etc. This pixel data is provided to the bitmap that the
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 SkMatrix transform_; 87 SkMatrix transform_;
86 88
87 // The current clipping 89 // The current clipping
88 SkRegion clip_region_; 90 SkRegion clip_region_;
89 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); 91 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);
90 }; 92 };
91 93
92 } // namespace skia 94 } // namespace skia
93 95
94 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_ 96 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698