summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-17 19:39:42 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-17 19:39:42 +0000
commitea47b6a802638fa18df618d5ba71dc4b5b3b4c48 (patch)
tree6c1cc5a5aac4c5c8dd81fbee7b2f87652ab1b823 /ui/gfx/canvas.h
parent48c18de8a9e3a35f5a829e7fb01e76d80e5b596e (diff)
downloadchromium_src-ea47b6a802638fa18df618d5ba71dc4b5b3b4c48.zip
chromium_src-ea47b6a802638fa18df618d5ba71dc4b5b3b4c48.tar.gz
chromium_src-ea47b6a802638fa18df618d5ba71dc4b5b3b4c48.tar.bz2
Introduce ui.dll / libui.so for the component build.
R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r--ui/gfx/canvas.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 5154965..2d2a55b 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -12,6 +12,7 @@
// TODO(beng): remove this include when we no longer depend on SkTypes.
#include "skia/ext/platform_canvas.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/ui_api.h"
namespace ui {
class Transform;
@@ -28,7 +29,7 @@ class Point;
class Rect;
// TODO(beng): documentation.
-class Canvas {
+class UI_API Canvas {
public:
// Specifies the alignment for text rendered with the DrawStringInt method.
enum {
@@ -229,7 +230,7 @@ class Canvas {
virtual const CanvasSkia* AsCanvasSkia() const;
};
-class CanvasPaint {
+class UI_API CanvasPaint {
public:
virtual ~CanvasPaint() {}