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

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

Issue 8839: * Revert "Start writing the GTK code for test_shell." (Closed)
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
« no previous file with comments | « base/gfx/bitmap_platform_device_linux.cc ('k') | webkit/glue/SConscript » ('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_linux.h" 5 #include "base/gfx/platform_canvas_linux.h"
6 6
7 #include "base/gfx/platform_device_linux.h"
8 #include "base/gfx/bitmap_platform_device_linux.h" 7 #include "base/gfx/bitmap_platform_device_linux.h"
9 #include "base/logging.h" 8 #include "base/logging.h"
10 9
11 namespace gfx { 10 namespace gfx {
12 11
13 PlatformCanvasLinux::PlatformCanvasLinux() : SkCanvas() { 12 PlatformCanvasLinux::PlatformCanvasLinux() : SkCanvas() {
14 } 13 }
15 14
16 PlatformCanvasLinux::PlatformCanvasLinux(int width, int height, bool is_opaque) 15 PlatformCanvasLinux::PlatformCanvasLinux(int width, int height, bool is_opaque)
17 : SkCanvas() { 16 : SkCanvas() {
(...skipping 20 matching lines...) Expand all
38 return createPlatformDevice(width, height, is_opaque); 37 return createPlatformDevice(width, height, is_opaque);
39 } 38 }
40 39
41 SkDevice* PlatformCanvasLinux::createPlatformDevice(int width, 40 SkDevice* PlatformCanvasLinux::createPlatformDevice(int width,
42 int height, 41 int height,
43 bool is_opaque) { 42 bool is_opaque) {
44 return BitmapPlatformDeviceLinux::Create(width, height, is_opaque); 43 return BitmapPlatformDeviceLinux::Create(width, height, is_opaque);
45 } 44 }
46 45
47 } // namespace gfx 46 } // namespace gfx
OLDNEW
« no previous file with comments | « base/gfx/bitmap_platform_device_linux.cc ('k') | webkit/glue/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698