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

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

Issue 1647473002: [Line Layout API] Add LineLayoutItem::resolveColor() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/TextPainter.h
diff --git a/third_party/WebKit/Source/core/paint/TextPainter.h b/third_party/WebKit/Source/core/paint/TextPainter.h
index f9762908725563ce764527281c0e875f4b230363..92b1ea7382e35e2aedb97f242d08b4ab091ab78e 100644
--- a/third_party/WebKit/Source/core/paint/TextPainter.h
+++ b/third_party/WebKit/Source/core/paint/TextPainter.h
@@ -24,6 +24,7 @@ class GraphicsContext;
class GraphicsContextStateSaver;
class LayoutTextCombine;
class LayoutObject;
+class LineLayoutItem;
struct PaintInfo;
class ShadowList;
class TextRun;
@@ -64,8 +65,8 @@ public:
}
bool operator!=(const Style& other) { return !(*this == other); }
};
- static Style textPaintingStyle(const LayoutObject&, const ComputedStyle&, const PaintInfo&);
- static Style selectionPaintingStyle(const LayoutObject&, bool haveSelection, const PaintInfo&, const Style& textStyle);
+ static Style textPaintingStyle(LineLayoutItem, const ComputedStyle&, const PaintInfo&);
+ static Style selectionPaintingStyle(LineLayoutItem, bool haveSelection, const PaintInfo&, const Style& textStyle);
enum RotationDirection { Counterclockwise, Clockwise };
static AffineTransform rotation(const LayoutRect& boxRect, RotationDirection);
« no previous file with comments | « third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/TextPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698