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

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

Issue 1979133003: Revert of 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
48 OwnPtr<PaintController> m_paintController; 46 OwnPtr<PaintController> m_paintController;
49 OwnPtr<GraphicsContext> m_context; 47 OwnPtr<GraphicsContext> m_context;
50 FloatRect m_bounds; 48 FloatRect m_bounds;
51 }; 49 };
52 50
53 } // namespace blink 51 } // namespace blink
54 52
55 #endif // SkPictureBuilder_h 53 #endif // SkPictureBuilder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/README.md ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698