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

Side by Side Diff: Source/platform/graphics/paint/DrawingRecorder.h

Issue 892293002: First version of new merge algorithm (not enabled yet) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove scope-related code (accidentally mixed in this CL) Created 5 years, 10 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 DrawingRecorder_h 5 #ifndef DrawingRecorder_h
6 #define DrawingRecorder_h 6 #define DrawingRecorder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 9
10 #include "platform/geometry/FloatRect.h" 10 #include "platform/geometry/FloatRect.h"
(...skipping 16 matching lines...) Expand all
27 bool canUseCachedDrawing() const { return m_canUseCachedDrawing; } 27 bool canUseCachedDrawing() const { return m_canUseCachedDrawing; }
28 28
29 #ifndef NDEBUG 29 #ifndef NDEBUG
30 void setClientDebugString(const WTF::String&); 30 void setClientDebugString(const WTF::String&);
31 #endif 31 #endif
32 32
33 private: 33 private:
34 GraphicsContext* m_context; 34 GraphicsContext* m_context;
35 DisplayItemClient m_displayItemClient; 35 DisplayItemClient m_displayItemClient;
36 const DisplayItem::Type m_displayItemType; 36 const DisplayItem::Type m_displayItemType;
37 const FloatRect m_bounds;
38 bool m_canUseCachedDrawing; 37 bool m_canUseCachedDrawing;
39 #ifndef NDEBUG 38 #ifndef NDEBUG
40 WTF::String m_clientDebugString; 39 WTF::String m_clientDebugString;
41 #endif 40 #endif
42 }; 41 };
43 42
44 } // namespace blink 43 } // namespace blink
45 44
46 #endif // DrawingRecorder_h 45 #endif // DrawingRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698