Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: skia/ext/platform_canvas_mac.cc

Issue 11357: Move the platform files form port to skia for Mac only. Hopefully this won't ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "config.h" 5 #include "skia/ext/platform_canvas_mac.h"
6 6
7 #include "PlatformCanvasMac.h"
8
9 #include "base/gfx/bitmap_platform_device_mac.h"
10 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "skia/ext/bitmap_platform_device_mac.h"
11 9
12 namespace gfx { 10 namespace gfx {
13 11
14 PlatformCanvasMac::PlatformCanvasMac() : SkCanvas() { 12 PlatformCanvasMac::PlatformCanvasMac() : SkCanvas() {
15 } 13 }
16 14
17 PlatformCanvasMac::PlatformCanvasMac(int width, int height, bool is_opaque) 15 PlatformCanvasMac::PlatformCanvasMac(int width, int height, bool is_opaque)
18 : SkCanvas() { 16 : SkCanvas() {
19 initialize(width, height, is_opaque); 17 initialize(width, height, is_opaque);
20 } 18 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 return device; 71 return device;
74 } 72 }
75 73
76 SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) { 74 SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) {
77 NOTREACHED(); 75 NOTREACHED();
78 return NULL; 76 return NULL;
79 } 77 }
80 78
81 } // namespace gfx 79 } // namespace gfx
82 80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698