- add sources.
[platform/framework/web/crosswalk.git] / src / ui / v2 / public / painter.h
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_V2_PUBLIC_PAINTER_H_
6 #define UI_V2_PUBLIC_PAINTER_H_
7
8 #include "ui/v2/public/v2_export.h"
9
10 namespace gfx {
11 class Canvas;
12 }
13
14 namespace v2 {
15
16 class V2_EXPORT Painter {
17  public:
18   virtual ~Painter() {}
19
20   virtual void Paint(gfx::Canvas* canvas) = 0;
21 };
22
23 }  // namespace v2
24
25 #endif  // UI_V2_PUBLIC_PAINTER_H_