OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gfx/canvas.h" | 5 #include "ui/gfx/canvas.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 CanvasSkia* Canvas::AsCanvasSkia() { | 9 Canvas::Canvas() |
10 return NULL; | 10 : CanvasSkia() { |
11 } | 11 } |
12 | 12 |
13 const CanvasSkia* Canvas::AsCanvasSkia() const { | 13 Canvas::Canvas(SkCanvas* canvas) |
14 return NULL; | 14 : CanvasSkia(canvas) { |
15 } | 15 } |
16 | 16 |
17 SkCanvas* Canvas::GetSkCanvas() { | 17 Canvas::Canvas(const gfx::Size& size, bool is_opaque) |
18 return NULL; | 18 : CanvasSkia(size, is_opaque) { |
19 } | 19 } |
20 | 20 |
21 const SkCanvas* Canvas::GetSkCanvas() const { | 21 Canvas::Canvas(const SkBitmap& bitmap, bool is_opaque) |
22 return NULL; | 22 : CanvasSkia(bitmap, is_opaque) { |
23 } | 23 } |
24 | 24 |
25 } // namespace gfx | 25 } // namespace gfx |
OLD | NEW |