summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/canvas_skia_paint.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/canvas_skia_paint.h')
-rw-r--r--chromium/ui/gfx/canvas_skia_paint.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/ui/gfx/canvas_skia_paint.h b/chromium/ui/gfx/canvas_skia_paint.h
new file mode 100644
index 00000000000..3f21f5cc410
--- /dev/null
+++ b/chromium/ui/gfx/canvas_skia_paint.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 UI_GFX_CANVAS_SKIA_PAINT_H_
+#define UI_GFX_CANVAS_SKIA_PAINT_H_
+
+// This file provides an easy way to include the appropriate CanvasPaint
+// header file on your platform.
+
+#if defined(WIN32)
+#include "ui/gfx/canvas_paint_win.h"
+#elif defined(__APPLE__)
+#include "ui/gfx/canvas_paint_mac.h"
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun)
+#if defined(TOOLKIT_GTK)
+#include "ui/gfx/canvas_paint_gtk.h"
+#else
+#error "No canvas paint for this platform"
+#endif
+#endif
+
+#endif // UI_GFX_CANVAS_SKIA_PAINT_H_