diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 22:34:22 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 22:34:22 +0000 |
commit | 96ffd0f9c67f2be3f77c630d11c5d24fa32db736 (patch) | |
tree | f60125c88d7b61536530b0bf1926c0b7a1b337c7 /base/gfx/platform_device_linux.h | |
parent | a03a3b25f70f7cf8b061b32c04f0575625b1bc6e (diff) | |
download | chromium_src-96ffd0f9c67f2be3f77c630d11c5d24fa32db736.zip chromium_src-96ffd0f9c67f2be3f77c630d11c5d24fa32db736.tar.gz chromium_src-96ffd0f9c67f2be3f77c630d11c5d24fa32db736.tar.bz2 |
Provide what looks like the minimal platform specific interface for skia. This will undoubtedly grow in the future.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/platform_device_linux.h')
-rw-r--r-- | base/gfx/platform_device_linux.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/base/gfx/platform_device_linux.h b/base/gfx/platform_device_linux.h new file mode 100644 index 0000000..52fbfae --- /dev/null +++ b/base/gfx/platform_device_linux.h @@ -0,0 +1,21 @@ +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef BASE_GFX_PLATFORM_DEVICE_LINUX_H_ +#define BASE_GFX_PLATFORM_DEVICE_LINUX_H_ + +#include "SkDevice.h" + +namespace gfx { + +// Blindly copying the mac hierarchy. +class PlatformDeviceLinux : public SkDevice { + protected: + // Forwards |bitmap| to SkDevice's constructor. + PlatformDeviceLinux(const SkBitmap& bitmap); +}; + +} // namespace gfx + +#endif // BASE_GFX_PLATFORM_DEVICE_LINUX_H_ |