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

Side by Side Diff: base/gfx/platform_device_linux.h

Issue 11244: Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left h... (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
« no previous file with comments | « base/gfx/platform_device.h ('k') | base/gfx/platform_device_linux.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 #ifndef BASE_GFX_PLATFORM_DEVICE_LINUX_H_ 5 #ifndef BASE_GFX_PLATFORM_DEVICE_LINUX_H_
6 #define BASE_GFX_PLATFORM_DEVICE_LINUX_H_ 6 #define BASE_GFX_PLATFORM_DEVICE_LINUX_H_
7 7
8 #include "SkDevice.h" 8 // TODO(brettw) this file should be removed and the includes changed to this
9 9 // new location.
10 namespace gfx { 10 #include "webkit/port/platform/graphics/skia/public/PlatformDeviceLinux.h"
11
12 // Blindly copying the mac hierarchy.
13 class PlatformDeviceLinux : public SkDevice {
14 public:
15 // Returns if the preferred rendering engine is vectorial or bitmap based.
16 virtual bool IsVectorial() = 0;
17
18 protected:
19 // Forwards |bitmap| to SkDevice's constructor.
20 PlatformDeviceLinux(const SkBitmap& bitmap);
21 };
22
23 } // namespace gfx
24 11
25 #endif // BASE_GFX_PLATFORM_DEVICE_LINUX_H_ 12 #endif // BASE_GFX_PLATFORM_DEVICE_LINUX_H_
OLDNEW
« no previous file with comments | « base/gfx/platform_device.h ('k') | base/gfx/platform_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698