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

Side by Side Diff: cc/paint/clip_display_item.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint 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
« no previous file with comments | « cc/paint/clip_display_item.h ('k') | cc/paint/clip_path_display_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "cc/playback/clip_display_item.h" 5 #include "cc/paint/clip_display_item.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 ClipDisplayItem::ClipDisplayItem(const gfx::Rect& clip_rect, 9 ClipDisplayItem::ClipDisplayItem(const gfx::Rect& clip_rect,
10 std::vector<SkRRect> rounded_clip_rects, 10 std::vector<SkRRect> rounded_clip_rects,
11 bool antialias) 11 bool antialias)
12 : DisplayItem(CLIP), 12 : DisplayItem(CLIP),
13 clip_rect(clip_rect), 13 clip_rect(clip_rect),
14 rounded_clip_rects(std::move(rounded_clip_rects)), 14 rounded_clip_rects(std::move(rounded_clip_rects)),
15 antialias(antialias) {} 15 antialias(antialias) {}
16 16
17 ClipDisplayItem::~ClipDisplayItem() = default; 17 ClipDisplayItem::~ClipDisplayItem() = default;
18 18
19 EndClipDisplayItem::EndClipDisplayItem() : DisplayItem(END_CLIP) {} 19 EndClipDisplayItem::EndClipDisplayItem() : DisplayItem(END_CLIP) {}
20 20
21 EndClipDisplayItem::~EndClipDisplayItem() = default; 21 EndClipDisplayItem::~EndClipDisplayItem() = default;
22 22
23 } // namespace cc 23 } // namespace cc
OLDNEW
« no previous file with comments | « cc/paint/clip_display_item.h ('k') | cc/paint/clip_path_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698