summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas.h
blob: 3fd3867b28217b9e5fcf2df1758cbdbcc26b0069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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_H_
#define UI_GFX_CANVAS_H_
#pragma once

#include "ui/base/ui_export.h"
#include "ui/gfx/canvas_skia.h"

namespace gfx {

// TODO(tfarina): This is a temporary work around until we rename all the
// entries from CanvasSkia to Canvas.
class UI_EXPORT Canvas : public CanvasSkia {
 public:
  Canvas();

  explicit Canvas(SkCanvas* canvas);

  Canvas(const gfx::Size& size, bool is_opaque);

  Canvas(const SkBitmap& bitmap, bool is_opaque);
};

}  // namespace gfx

#endif  // UI_GFX_CANVAS_H_