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

Unified Diff: third_party/WebKit/Source/web/FindInPageCoordinates.h

Issue 2389633002: reflow comments in web/ (Closed)
Patch Set: . Created 4 years, 2 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/web/FindInPageCoordinates.h
diff --git a/third_party/WebKit/Source/web/FindInPageCoordinates.h b/third_party/WebKit/Source/web/FindInPageCoordinates.h
index 3388932f9fe0e397bfe05c4a9b791a5422a784bb..18764f878420d4ebddfc0361be3f7698743c2e2a 100644
--- a/third_party/WebKit/Source/web/FindInPageCoordinates.h
+++ b/third_party/WebKit/Source/web/FindInPageCoordinates.h
@@ -40,16 +40,19 @@ class LayoutObject;
// Find-in-page coordinate conversion methods.
//
-// This coordinate system is designed to give consistent tickmarks in cases where find matches
-// are in scrollable areas but might not be visible (e.g. child frames, scroll:overflow).
-// In these cases, using absolute positions might lead to tickmarks pointing outside the visible
-// area of its container, which is counter-intuitive for users.
+// This coordinate system is designed to give consistent tickmarks in cases
+// where find matches are in scrollable areas but might not be visible (e.g.
+// child frames, scroll:overflow). In these cases, using absolute positions
+// might lead to tickmarks pointing outside the visible area of its container,
+// which is counter-intuitive for users.
//
-// Find-in-page coordinates are represented as normalized fractions of the main frame document with
-// the property that they are built by composing the relative position of each layoutObject to the maximum
-// effective layout size of its container all the way up the layout tree. The resulting coordinates
-// are scroll-independent, representing any contents scaled to the visible area of their container.
-// The provided methods support scroll:overflow and are CSS position and transform-friendly.
+// Find-in-page coordinates are represented as normalized fractions of the main
+// frame document with the property that they are built by composing the
+// relative position of each layoutObject to the maximum effective layout size
+// of its container all the way up the layout tree. The resulting coordinates
+// are scroll-independent, representing any contents scaled to the visible area
+// of their container. The provided methods support scroll:overflow and are
+// CSS position and transform-friendly.
WEB_EXPORT FloatRect findInPageRectFromAbsoluteRect(const FloatRect&,
const LayoutObject*);
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.cpp ('k') | third_party/WebKit/Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698