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

Side by Side Diff: Source/platform/graphics/LazyDecodingPixelRef.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 #include "SkTypes.h" 33 #include "SkTypes.h"
34 #include "platform/PlatformInstrumentation.h" 34 #include "platform/PlatformInstrumentation.h"
35 #include "skia/ext/lazy_pixel_ref.h" 35 #include "skia/ext/lazy_pixel_ref.h"
36 36
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 38
39 using skia::LazyPixelRef; 39 using skia::LazyPixelRef;
40 40
41 class SkData; 41 class SkData;
42 42
43 namespace WebCore { 43 namespace blink {
44 44
45 class ImageFrameGenerator; 45 class ImageFrameGenerator;
46 class ScaledImageFragment; 46 class ScaledImageFragment;
47 47
48 class LazyDecodingPixelRef FINAL : public LazyPixelRef { 48 class LazyDecodingPixelRef FINAL : public LazyPixelRef {
49 public: 49 public:
50 LazyDecodingPixelRef(const SkImageInfo&, PassRefPtr<ImageFrameGenerator>, si ze_t index); 50 LazyDecodingPixelRef(const SkImageInfo&, PassRefPtr<ImageFrameGenerator>, si ze_t index);
51 virtual ~LazyDecodingPixelRef(); 51 virtual ~LazyDecodingPixelRef();
52 52
53 PassRefPtr<ImageFrameGenerator> frameGenerator() const { return m_frameGener ator; } 53 PassRefPtr<ImageFrameGenerator> frameGenerator() const { return m_frameGener ator; }
(...skipping 14 matching lines...) Expand all
68 virtual SkData* onRefEncodedData() OVERRIDE; 68 virtual SkData* onRefEncodedData() OVERRIDE;
69 69
70 private: 70 private:
71 RefPtr<ImageFrameGenerator> m_frameGenerator; 71 RefPtr<ImageFrameGenerator> m_frameGenerator;
72 size_t m_frameIndex; 72 size_t m_frameIndex;
73 73
74 const ScaledImageFragment* m_lockedImageResource; 74 const ScaledImageFragment* m_lockedImageResource;
75 PlatformInstrumentation::LazyPixelRefTracker m_objectTracker; 75 PlatformInstrumentation::LazyPixelRefTracker m_objectTracker;
76 }; 76 };
77 77
78 } // namespace WebCore 78 } // namespace blink
79 79
80 #endif // LazyDecodingPixelRef_h_ 80 #endif // LazyDecodingPixelRef_h_
OLDNEW
« no previous file with comments | « Source/platform/graphics/InterceptingCanvas.h ('k') | Source/platform/graphics/LazyDecodingPixelRef.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698