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

Unified Diff: third_party/WebKit/Source/core/paint/BoxDecorationData.h

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Rebase w/HEAD Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/BoxDecorationData.h
diff --git a/third_party/WebKit/Source/core/paint/BoxDecorationData.h b/third_party/WebKit/Source/core/paint/BoxDecorationData.h
index e66c5e2942726854cad6b95654d9d2dd9948fd29..9af822a67dfa8b58fc279d5d705b66cd6c5bf6fd 100644
--- a/third_party/WebKit/Source/core/paint/BoxDecorationData.h
+++ b/third_party/WebKit/Source/core/paint/BoxDecorationData.h
@@ -11,6 +11,8 @@
namespace blink {
class LayoutBox;
+class NGPhysicalFragment;
+class ComputedStyle;
// Information extracted from ComputedStyle for box painting.
struct BoxDecorationData {
@@ -18,6 +20,7 @@ struct BoxDecorationData {
public:
BoxDecorationData(const LayoutBox&);
+ BoxDecorationData(const NGPhysicalFragment*);
Color background_color;
BackgroundBleedAvoidance bleed_avoidance;
@@ -26,6 +29,7 @@ struct BoxDecorationData {
bool has_appearance;
private:
+ BoxDecorationData(const ComputedStyle*);
BackgroundBleedAvoidance DetermineBackgroundBleedAvoidance(const LayoutBox&);
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/BUILD.gn ('k') | third_party/WebKit/Source/core/paint/BoxDecorationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698