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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none Created 4 years 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/layout/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 9829726b202aa243e8d164627e0cc230f69052b8..7b9184c8ea1687d1cca026c7aa364d0ff1e51711 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -102,7 +102,8 @@ class CORE_EXPORT LayoutText : public LayoutObject {
unsigned endOffset = INT_MAX,
bool useSelectionHeight = false);
- void absoluteQuads(Vector<FloatQuad>&) const final;
+ void absoluteQuads(Vector<FloatQuad>&,
+ MapCoordinatesFlags mode = 0) const final;
void absoluteQuadsForRange(Vector<FloatQuad>&,
unsigned startOffset = 0,
unsigned endOffset = INT_MAX,
@@ -113,7 +114,8 @@ class CORE_EXPORT LayoutText : public LayoutObject {
enum LocalOrAbsoluteOption { LocalQuads, AbsoluteQuads };
void quads(Vector<FloatQuad>&,
ClippingOption = NoClipping,
- LocalOrAbsoluteOption = AbsoluteQuads) const;
+ LocalOrAbsoluteOption = AbsoluteQuads,
+ MapCoordinatesFlags mode = 0) const;
PositionWithAffinity positionForPoint(const LayoutPoint&) override;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698