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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

Issue 2845883002: [LayoutNG] Add NG-specific DrawText support to GraphicsContext (Closed)
Patch Set: Created 3 years, 8 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/platform/fonts/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 4b854c429e1cfff3e9a6e6331ed36be317c3820e..8d292a2e2d080ba490835e3a6b31e61935b6d7df 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -60,6 +60,7 @@ struct TextRunPaintInfo;
// TODO(eae): Move to a separate file?
struct PLATFORM_EXPORT TextFragmentPaintInfo {
const StringView text;
+ TextDirection direction;
unsigned from;
unsigned to;
const ShapeResult* shape_result;
@@ -111,6 +112,12 @@ class PLATFORM_EXPORT Font {
const FloatPoint&,
float device_scale_factor,
const PaintFlags&) const;
+ void DrawEmphasisMarks(PaintCanvas*,
+ const TextFragmentPaintInfo&,
+ const AtomicString& mark,
+ const FloatPoint&,
+ float device_scale_factor,
+ const PaintFlags&) const;
struct TextIntercept {
float begin_, end_;

Powered by Google App Engine
This is Rietveld 408576698