| OLD | NEW | 
|    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 <memory> | 
|    8 #include "platform/graphics/GraphicsContext.h" |    9 #include "platform/graphics/GraphicsContext.h" | 
|    9 #include "platform/graphics/ImageBufferSurface.h" |   10 #include "platform/graphics/ImageBufferSurface.h" | 
|   10 #include "public/platform/WebThread.h" |   11 #include "public/platform/WebThread.h" | 
|   11 #include "third_party/skia/include/core/SkRefCnt.h" |   12 #include "third_party/skia/include/core/SkRefCnt.h" | 
|   12 #include "wtf/Allocator.h" |   13 #include "wtf/Allocator.h" | 
|   13 #include "wtf/Noncopyable.h" |   14 #include "wtf/Noncopyable.h" | 
|   14 #include <memory> |  | 
|   15  |   15  | 
|   16 namespace blink { |   16 namespace blink { | 
|   17  |   17  | 
|   18 class ImageBuffer; |   18 class ImageBuffer; | 
|   19 class RecordingImageBufferSurfaceTest; |   19 class RecordingImageBufferSurfaceTest; | 
|   20  |   20  | 
|   21 class RecordingImageBufferFallbackSurfaceFactory { |   21 class RecordingImageBufferFallbackSurfaceFactory { | 
|   22   USING_FAST_MALLOC(RecordingImageBufferFallbackSurfaceFactory); |   22   USING_FAST_MALLOC(RecordingImageBufferFallbackSurfaceFactory); | 
|   23   WTF_MAKE_NONCOPYABLE(RecordingImageBufferFallbackSurfaceFactory); |   23   WTF_MAKE_NONCOPYABLE(RecordingImageBufferFallbackSurfaceFactory); | 
|   24  |   24  | 
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  135   bool m_frameWasCleared; |  135   bool m_frameWasCleared; | 
|  136   bool m_didRecordDrawCommandsInCurrentFrame; |  136   bool m_didRecordDrawCommandsInCurrentFrame; | 
|  137   bool m_currentFrameHasExpensiveOp; |  137   bool m_currentFrameHasExpensiveOp; | 
|  138   bool m_previousFrameHasExpensiveOp; |  138   bool m_previousFrameHasExpensiveOp; | 
|  139   std::unique_ptr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; |  139   std::unique_ptr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; | 
|  140 }; |  140 }; | 
|  141  |  141  | 
|  142 }  // namespace blink |  142 }  // namespace blink | 
|  143  |  143  | 
|  144 #endif |  144 #endif | 
| OLD | NEW |