Index: skia/ext/bitmap_platform_device.h |
diff --git a/skia/ext/bitmap_platform_device.h b/skia/ext/bitmap_platform_device.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1ca5f7e128a393024cc50b2472e12d7ba83f9e65 |
--- /dev/null |
+++ b/skia/ext/bitmap_platform_device.h |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_H_ |
+#define SKIA_EXT_BITMAP_PLATFORM_DEVICE_H_ |
+ |
+// This file provides an easy way to include the appropriate |
+// BitmapPlatformDevice header file for your platform. |
+ |
+#include <stdint.h> |
+ |
+#if defined(WIN32) |
+#include "skia/ext/bitmap_platform_device_win.h" |
+#elif defined(__APPLE__) |
+#include "skia/ext/bitmap_platform_device_mac.h" |
+#elif defined(USE_CAIRO) |
+#include "skia/ext/bitmap_platform_device_cairo.h" |
+#else |
+#include "skia/ext/bitmap_platform_device_skia.h" |
+#endif |
+ |
+#endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_H_ |