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

Side by Side Diff: Source/platform/graphics/skia/NativeImageSkia.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, Google Inc. All rights reserved. 2 * Copyright (c) 2008, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "platform/PlatformExport.h" 38 #include "platform/PlatformExport.h"
39 #include "platform/geometry/IntSize.h" 39 #include "platform/geometry/IntSize.h"
40 #include "platform/graphics/GraphicsTypes.h" 40 #include "platform/graphics/GraphicsTypes.h"
41 #include "wtf/Forward.h" 41 #include "wtf/Forward.h"
42 #include "wtf/PassRefPtr.h" 42 #include "wtf/PassRefPtr.h"
43 #include "wtf/RefCounted.h" 43 #include "wtf/RefCounted.h"
44 44
45 class SkMatrix; 45 class SkMatrix;
46 class SkPaint; 46 class SkPaint;
47 47
48 namespace WebCore { 48 namespace blink {
49 49
50 class FloatPoint; 50 class FloatPoint;
51 class FloatRect; 51 class FloatRect;
52 class FloatSize; 52 class FloatSize;
53 class GraphicsContext; 53 class GraphicsContext;
54 54
55 // This object is used as the "native image" in our port. When WebKit uses 55 // This object is used as the "native image" in our port. When WebKit uses
56 // PassNativeImagePtr / NativeImagePtr, it is a smart pointer to this type. 56 // PassNativeImagePtr / NativeImagePtr, it is a smart pointer to this type.
57 // It has an SkBitmap, and also stores a cached resized image. 57 // It has an SkBitmap, and also stores a cached resized image.
58 class PLATFORM_EXPORT NativeImageSkia : public RefCounted<NativeImageSkia> { 58 class PLATFORM_EXPORT NativeImageSkia : public RefCounted<NativeImageSkia> {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // those requests individually are small and would not otherwise be cached. 175 // those requests individually are small and would not otherwise be cached.
176 // 176 //
177 // We also track scaling information and destination subset for the scaled 177 // We also track scaling information and destination subset for the scaled
178 // image. See comments for ImageResourceInfo. 178 // image. See comments for ImageResourceInfo.
179 mutable ImageResourceInfo m_cachedImageInfo; 179 mutable ImageResourceInfo m_cachedImageInfo;
180 mutable int m_resizeRequests; 180 mutable int m_resizeRequests;
181 }; 181 };
182 182
183 } 183 }
184 #endif // NativeImageSkia_h 184 #endif // NativeImageSkia_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/skia/GaneshUtils.cpp ('k') | Source/platform/graphics/skia/NativeImageSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698