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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h

Issue 2923683002: Fix nested border radius with composited child. (Closed)
Patch Set: Split tests, check layer sizes, document Created 3 years, 6 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 | « third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 : root_layer(in_root_layer), 89 : root_layer(in_root_layer),
90 paint_dirty_rect(in_dirty_rect), 90 paint_dirty_rect(in_dirty_rect),
91 sub_pixel_accumulation(in_sub_pixel_accumulation), 91 sub_pixel_accumulation(in_sub_pixel_accumulation),
92 clip_to_dirty_rect(true), 92 clip_to_dirty_rect(true),
93 ancestor_has_clip_path_clipping(false), 93 ancestor_has_clip_path_clipping(false),
94 global_paint_flags_(global_paint_flags) {} 94 global_paint_flags_(global_paint_flags) {}
95 95
96 GlobalPaintFlags GetGlobalPaintFlags() const { return global_paint_flags_; } 96 GlobalPaintFlags GetGlobalPaintFlags() const { return global_paint_flags_; }
97 97
98 // TODO(jchaffraix): We should encapsulate all these fields. 98 // TODO(jchaffraix): We should encapsulate all these fields.
99 PaintLayer* root_layer; 99 const PaintLayer* root_layer;
100 LayoutRect paint_dirty_rect; // relative to rootLayer; 100 LayoutRect paint_dirty_rect; // relative to rootLayer;
101 LayoutSize sub_pixel_accumulation; 101 LayoutSize sub_pixel_accumulation;
102 IntSize scroll_offset_accumulation; 102 IntSize scroll_offset_accumulation;
103 bool clip_to_dirty_rect; 103 bool clip_to_dirty_rect;
104 bool ancestor_has_clip_path_clipping; 104 bool ancestor_has_clip_path_clipping;
105 105
106 private: 106 private:
107 const GlobalPaintFlags global_paint_flags_; 107 const GlobalPaintFlags global_paint_flags_;
108 }; 108 };
109 109
110 } // namespace blink 110 } // namespace blink
111 111
112 #endif // PaintLayerPaintingInfo_h 112 #endif // PaintLayerPaintingInfo_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698