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

Side by Side Diff: base/gfx/platform_canvas_mac.cc

Issue 1616: Refactor the platform canvas unit test a bit so that it can be run on... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months 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
« no previous file with comments | « base/gfx/platform_canvas.h ('k') | base/gfx/platform_canvas_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/gfx/platform_canvas_mac.h" 5 #include "base/gfx/platform_canvas_mac.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 {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 SkDevice* PlatformCanvasMac::createPlatformDevice(int width, 135 SkDevice* PlatformCanvasMac::createPlatformDevice(int width,
136 int height, 136 int height,
137 bool is_opaque, 137 bool is_opaque,
138 CGContextRef context) { 138 CGContextRef context) {
139 SkDevice* device = BitmapPlatformDeviceMac::Create(context, width, height, 139 SkDevice* device = BitmapPlatformDeviceMac::Create(context, width, height,
140 is_opaque); 140 is_opaque);
141 return device; 141 return device;
142 } 142 }
143 143
144 SkDevice* PlatformCanvasMac::setBitmapDevice(const SkBitmap&) {
145 NOTREACHED();
146 return NULL;
147 }
148
144 } // namespace gfx 149 } // namespace gfx
145 150
OLDNEW
« no previous file with comments | « base/gfx/platform_canvas.h ('k') | base/gfx/platform_canvas_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698