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

Side by Side Diff: ui/compositor/paint_cache.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none Created 3 years, 9 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 UI_COMPOSITOR_PAINT_CACHE_H_ 5 #ifndef UI_COMPOSITOR_PAINT_CACHE_H_
6 #define UI_COMPOSITOR_PAINT_CACHE_H_ 6 #define UI_COMPOSITOR_PAINT_CACHE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/playback/drawing_display_item.h" 9 #include "cc/paint/drawing_display_item.h"
10 #include "ui/compositor/compositor_export.h" 10 #include "ui/compositor/compositor_export.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 namespace ui { 13 namespace ui {
14 class PaintContext; 14 class PaintContext;
15 class PaintRecorder; 15 class PaintRecorder;
16 16
17 // A class that holds the output of a PaintRecorder to be reused when the 17 // A class that holds the output of a PaintRecorder to be reused when the
18 // object that created the PaintRecorder has not been changed/invalidated. 18 // object that created the PaintRecorder has not been changed/invalidated.
19 class COMPOSITOR_EXPORT PaintCache { 19 class COMPOSITOR_EXPORT PaintCache {
(...skipping 15 matching lines...) Expand all
35 35
36 bool has_cache_; 36 bool has_cache_;
37 cc::DrawingDisplayItem display_item_; 37 cc::DrawingDisplayItem display_item_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(PaintCache); 39 DISALLOW_COPY_AND_ASSIGN(PaintCache);
40 }; 40 };
41 41
42 } // namespace ui 42 } // namespace ui
43 43
44 #endif // UI_COMPOSITOR_PAINT_CACHE_H_ 44 #endif // UI_COMPOSITOR_PAINT_CACHE_H_
OLDNEW
« cc/BUILD.gn ('K') | « ui/compositor/layer.cc ('k') | ui/compositor/paint_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698