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

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

Issue 7319: get webframe_impl.cc to compile on linux (Closed)
Patch Set: merge fixes from icefox Created 12 years, 2 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
« no previous file with comments | « no previous file | base/gfx/bitmap_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_BITMAP_PLATFORM_DEVICE_LINUX_H_ 5 #ifndef BASE_GFX_BITMAP_PLATFORM_DEVICE_LINUX_H_
6 #define BASE_GFX_BITMAP_PLATFORM_DEVICE_LINUX_H_ 6 #define BASE_GFX_BITMAP_PLATFORM_DEVICE_LINUX_H_
7 7
8 #include "base/gfx/platform_device_linux.h" 8 #include "base/gfx/platform_device_linux.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 // I'm trying to get away with defining as little as possible on this. Right 13 // I'm trying to get away with defining as little as possible on this. Right
14 // now, we don't do anything. 14 // now, we don't do anything.
15 class BitmapPlatformDeviceLinux : public PlatformDeviceLinux { 15 class BitmapPlatformDeviceLinux : public PlatformDeviceLinux {
16 public: 16 public:
17 /// Static constructor. I don't understand this, it's just a copy of the mac 17 /// Static constructor. I don't understand this, it's just a copy of the mac
18 static BitmapPlatformDeviceLinux* Create(int width, int height, 18 static BitmapPlatformDeviceLinux* Create(int width, int height,
19 bool is_opaque); 19 bool is_opaque);
20 20
21 /// Create a BitmapPlatformDeviceLinux from an already constructed bitmap; 21 /// Create a BitmapPlatformDeviceLinux from an already constructed bitmap;
22 /// you should probably be using Create(). This may become private later if 22 /// you should probably be using Create(). This may become private later if
23 /// we ever have to share state between some native drawing UI and Skia, like 23 /// we ever have to share state between some native drawing UI and Skia, like
24 /// the Windows and Mac versions of this class do. 24 /// the Windows and Mac versions of this class do.
25 BitmapPlatformDeviceLinux(const SkBitmap& other); 25 BitmapPlatformDeviceLinux(const SkBitmap& other);
26 virtual ~BitmapPlatformDeviceLinux(); 26 virtual ~BitmapPlatformDeviceLinux();
27
28 // A stub copy constructor. Needs to be properly implemented.
29 BitmapPlatformDeviceLinux(const BitmapPlatformDeviceLinux& other);
27 }; 30 };
28 31
29 } // namespace gfx 32 } // namespace gfx
30 33
31 #endif // BASE_GFX_BITMAP_PLATFORM_DEVICE_LINUX_H_ 34 #endif // BASE_GFX_BITMAP_PLATFORM_DEVICE_LINUX_H_
OLDNEW
« no previous file with comments | « no previous file | base/gfx/bitmap_platform_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698