| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/gfx/platform_canvas_mac.h" | 5 #include "PlatformCanvasMac.h" |
| 6 | 6 |
| 7 #include "base/gfx/bitmap_platform_device_mac.h" | 7 #include "base/gfx/bitmap_platform_device_mac.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| 11 | 11 |
| 12 PlatformCanvasMac::PlatformCanvasMac() : SkCanvas() { | 12 PlatformCanvasMac::PlatformCanvasMac() : SkCanvas() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 PlatformCanvasMac::PlatformCanvasMac(int width, int height, bool is_opaque) | 15 PlatformCanvasMac::PlatformCanvasMac(int width, int height, bool is_opaque) |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 return device; | 71 return device; |
| 72 } | 72 } |
| 73 | 73 |
| 74 SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) { | 74 SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) { |
| 75 NOTREACHED(); | 75 NOTREACHED(); |
| 76 return NULL; | 76 return NULL; |
| 77 } | 77 } |
| 78 | 78 |
| 79 } // namespace gfx | 79 } // namespace gfx |
| 80 | 80 |
| OLD | NEW |