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

Unified Diff: webkit/port/platform/graphics/skia/public/PlatformDeviceMac.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 side-by-side diff with in-line comments
Download patch
Index: webkit/port/platform/graphics/skia/public/PlatformDeviceMac.h
===================================================================
--- webkit/port/platform/graphics/skia/public/PlatformDeviceMac.h (revision 0)
+++ webkit/port/platform/graphics/skia/public/PlatformDeviceMac.h (working copy)
@@ -2,8 +2,8 @@
// 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_MAC_H__
-#define BASE_GFX_PLATFORM_DEVICE_MAC_H__
+#ifndef PlatformDeviceMac_h
+#define PlatformDeviceMac_h
#import <ApplicationServices/ApplicationServices.h>
#include "SkDevice.h"
@@ -55,10 +55,10 @@
static void LoadPathToCGContext(CGContextRef context, const SkPath& path);
// Loads a SkRegion into the CG context.
- static void LoadClippingRegionToCGContext(CGContextRef context,
+ static void LoadClippingRegionToCGContext(CGContextRef context,
const SkRegion& region,
- const SkMatrix& transformation);
-
+ const SkMatrix& transformation);
+
protected:
// Forwards |bitmap| to SkDevice's constructor.
PlatformDeviceMac(const SkBitmap& bitmap);
@@ -70,7 +70,7 @@
// Function pointer used by the processPixels method for setting the alpha
// value of a particular pixel.
typedef void (*adjustAlpha)(uint32_t* pixel);
-
+
// Loops through each of the pixels in the specified range, invoking
// adjustor for the alpha value of each pixel.
virtual void processPixels(int x,
@@ -82,5 +82,5 @@
} // namespace gfx
-#endif // BASE_GFX_PLATFORM_DEVICE_MAC_H__
+#endif // PlatformDeviceMac_h
Property changes on: webkit\port\platform\graphics\skia\public\PlatformDeviceMac.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/platform_device_mac.h:r69-2775

Powered by Google App Engine
This is Rietveld 408576698