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

Side by Side Diff: Source/platform/graphics/RecordingImageBufferSurface.h

Issue 426863003: Clean up remaining uses of WebCore namespace (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 RecordingImageBufferSurface_h 5 #ifndef RecordingImageBufferSurface_h
6 #define RecordingImageBufferSurface_h 6 #define RecordingImageBufferSurface_h
7 7
8 #include "platform/graphics/ImageBufferSurface.h" 8 #include "platform/graphics/ImageBufferSurface.h"
9 #include "wtf/OwnPtr.h" 9 #include "wtf/OwnPtr.h"
10 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
11 11
12 class SkPicture; 12 class SkPicture;
13 class SkPictureRecorder; 13 class SkPictureRecorder;
14 class RecordingImageBufferSurfaceTest; 14 class RecordingImageBufferSurfaceTest;
15 15
16 namespace WebCore { 16 namespace blink {
17 17
18 class GraphicsContext; 18 class GraphicsContext;
19 19
20 class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface { 20 class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
21 WTF_MAKE_NONCOPYABLE(RecordingImageBufferSurface); WTF_MAKE_FAST_ALLOCATED; 21 WTF_MAKE_NONCOPYABLE(RecordingImageBufferSurface); WTF_MAKE_FAST_ALLOCATED;
22 public: 22 public:
23 RecordingImageBufferSurface(const IntSize&, OpacityMode = NonOpaque); 23 RecordingImageBufferSurface(const IntSize&, OpacityMode = NonOpaque);
24 virtual ~RecordingImageBufferSurface(); 24 virtual ~RecordingImageBufferSurface();
25 25
26 // Implementation of ImageBufferSurface interfaces 26 // Implementation of ImageBufferSurface interfaces
(...skipping 13 matching lines...) Expand all
40 40
41 OwnPtr<SkPictureRecorder> m_currentFrame; 41 OwnPtr<SkPictureRecorder> m_currentFrame;
42 RefPtr<SkPicture> m_previousFrame; 42 RefPtr<SkPicture> m_previousFrame;
43 OwnPtr<SkCanvas> m_rasterCanvas; 43 OwnPtr<SkCanvas> m_rasterCanvas;
44 GraphicsContext* m_graphicsContext; 44 GraphicsContext* m_graphicsContext;
45 int m_initialSaveCount; 45 int m_initialSaveCount;
46 bool m_frameWasCleared; 46 bool m_frameWasCleared;
47 bool m_surfaceUsedSincePreviousFrameWasPresented; 47 bool m_surfaceUsedSincePreviousFrameWasPresented;
48 }; 48 };
49 49
50 } // namespace WebCore 50 } // namespace blink
51 51
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « Source/modules/websockets/NewWebSocketChannelImplTest.cpp ('k') | Source/platform/graphics/RecordingImageBufferSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698