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

Side by Side Diff: webkit/port/platform/graphics/skia/public/BitmapPlatformDeviceMac.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
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/bitmap_platform_device_mac.h:r69-2775
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_MAC_H__ 5 #ifndef BitmapPlatformDeviceMac_h
6 #define BASE_GFX_BITMAP_PLATFORM_DEVICE_MAC_H__ 6 #define BitmapPlatformDeviceMac_h
7 7
8 #include "base/gfx/platform_device_mac.h" 8 #include "base/gfx/platform_device_mac.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 // A device is basically a wrapper around SkBitmap that provides a surface for 13 // A device is basically a wrapper around SkBitmap that provides a surface for
14 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also 14 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also
15 // write to. BitmapPlatformDeviceMac creates a bitmap using 15 // write to. BitmapPlatformDeviceMac creates a bitmap using
16 // CGCreateBitmapContext() in a format that Skia supports and can then use this 16 // CGCreateBitmapContext() in a format that Skia supports and can then use this
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Data associated with this device, guaranteed non-null. 84 // Data associated with this device, guaranteed non-null.
85 scoped_refptr<BitmapPlatformDeviceMacData> data_; 85 scoped_refptr<BitmapPlatformDeviceMacData> data_;
86 86
87 virtual void processPixels(int x, int y, 87 virtual void processPixels(int x, int y,
88 int width, int height, 88 int width, int height,
89 adjustAlpha adjustor); 89 adjustAlpha adjustor);
90 }; 90 };
91 91
92 } // namespace gfx 92 } // namespace gfx
93 93
94 #endif // BASE_GFX_BITMAP_PLATFORM_DEVICE_MAC_H__ 94 #endif // BitmapPlatformDeviceMac_h
95 95
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698