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

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

Issue 2869433002: [LayoutNG] Add Font::GetTextIntercepts for LayoutNG (Closed)
Patch Set: Fix compiler warning 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8d292a2e2d080ba490835e3a6b31e61935b6d7df..3de99eb84e832069fe2f4b44d8b9a965606a207a 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -135,6 +135,11 @@ class PLATFORM_EXPORT Font {
const PaintFlags&,
const std::tuple<float, float>& bounds,
Vector<TextIntercept>&) const;
+ void GetTextIntercepts(const TextFragmentPaintInfo&,
+ float device_scale_factor,
+ const PaintFlags&,
+ const std::tuple<float, float>& bounds,
+ Vector<TextIntercept>&) const;
// Glyph bounds will be the minimum rect containing all glyph strokes, in
// coordinates using (<text run x position>, <baseline position>) as the
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698