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

Side by Side Diff: skia/ext/platform_canvas.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) 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_PLATFORM_CANVAS_H_ 5 #ifndef SKIA_EXT_PLATFORM_CANVAS_H_
6 #define SKIA_EXT_PLATFORM_CANVAS_H_ 6 #define SKIA_EXT_PLATFORM_CANVAS_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 // The platform-specific device will include the necessary platform headers 11 // The platform-specific device will include the necessary platform headers
9 // to get the surface type. 12 // to get the surface type.
10 #include "base/basictypes.h" 13 #include "build/build_config.h"
11 #include "skia/ext/platform_surface.h" 14 #include "skia/ext/platform_surface.h"
12 #include "skia/ext/refptr.h" 15 #include "skia/ext/refptr.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "third_party/skia/include/core/SkCanvas.h" 17 #include "third_party/skia/include/core/SkCanvas.h"
15 #include "third_party/skia/include/core/SkPixelRef.h" 18 #include "third_party/skia/include/core/SkPixelRef.h"
16 #include "third_party/skia/include/core/SkPixmap.h" 19 #include "third_party/skia/include/core/SkPixmap.h"
17 20
18 class SkBaseDevice; 21 class SkBaseDevice;
19 22
20 namespace skia { 23 namespace skia {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 SK_API bool IsPreviewMetafile(const SkCanvas& canvas); 185 SK_API bool IsPreviewMetafile(const SkCanvas& canvas);
183 186
184 // Returns the CGContext that backing the SkCanvas. 187 // Returns the CGContext that backing the SkCanvas.
185 // Returns NULL if none is bound. 188 // Returns NULL if none is bound.
186 SK_API CGContextRef GetBitmapContext(const SkCanvas& canvas); 189 SK_API CGContextRef GetBitmapContext(const SkCanvas& canvas);
187 #endif 190 #endif
188 191
189 } // namespace skia 192 } // namespace skia
190 193
191 #endif // SKIA_EXT_PLATFORM_CANVAS_H_ 194 #endif // SKIA_EXT_PLATFORM_CANVAS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698