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

Unified Diff: public/web/WebFrame.h

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 9 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 | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebPluginContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 6c83d440f94c172773764bfde74ea997212b6472..27398d509241f516db05bed68de49300f240fbaa 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -431,12 +431,11 @@ public:
virtual WebRange markedRange() const = 0;
- // Returns the frame rectangle in window coordinate space of the given text
- // range.
+ // Returns the text range rectangle in the viepwort coordinate space.
virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const = 0;
// Returns the index of a character in the Frame's text stream at the given
- // point. The point is in the window coordinate space. Will return
+ // point. The point is in the viewport coordinate space. Will return
// WTF::notFound if the point is invalid.
virtual size_t characterIndexForPoint(const WebPoint&) const = 0;
@@ -473,7 +472,7 @@ public:
virtual void selectRange(const WebRange&) = 0;
- // Move the current selection to the provided window point/points. If the
+ // Move the current selection to the provided viewport point/points. If the
// current selection is editable, the new selection will be restricted to
// the root editable element.
// |TextGranularity| represents character wrapping granularity. If
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebPluginContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698