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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 SkPictureBuilder_h 5 #ifndef SkPictureBuilder_h
6 #define SkPictureBuilder_h 6 #define SkPictureBuilder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/geometry/FloatRect.h" 9 #include "platform/geometry/FloatRect.h"
10 #include "platform/graphics/paint/DisplayItemClient.h" 10 #include "platform/graphics/paint/DisplayItemClient.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // Returns a picture capturing all drawing performed on the builder's contex t since 37 // Returns a picture capturing all drawing performed on the builder's contex t since
38 // construction. 38 // construction.
39 PassRefPtr<SkPicture> endRecording(); 39 PassRefPtr<SkPicture> endRecording();
40 40
41 // DisplayItemClient methods 41 // DisplayItemClient methods
42 String debugName() const final { return "SkPictureBuilder"; } 42 String debugName() const final { return "SkPictureBuilder"; }
43 LayoutRect visualRect() const final { return LayoutRect(); } 43 LayoutRect visualRect() const final { return LayoutRect(); }
44 44
45 private: 45 private:
46 DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
47
46 OwnPtr<PaintController> m_paintController; 48 OwnPtr<PaintController> m_paintController;
47 OwnPtr<GraphicsContext> m_context; 49 OwnPtr<GraphicsContext> m_context;
48 FloatRect m_bounds; 50 FloatRect m_bounds;
49 }; 51 };
50 52
51 } // namespace blink 53 } // namespace blink
52 54
53 #endif // SkPictureBuilder_h 55 #endif // SkPictureBuilder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698