| Index: Source/WebKit/chromium/public/WebFrame.h
|
| diff --git a/Source/WebKit/chromium/public/WebFrame.h b/Source/WebKit/chromium/public/WebFrame.h
|
| index 86fdec2e3b426490d291fd951e1071be321ab11b..0ec7ba5ac99333b9a74877ebb6d56798f0b1bb69 100644
|
| --- a/Source/WebKit/chromium/public/WebFrame.h
|
| +++ b/Source/WebKit/chromium/public/WebFrame.h
|
| @@ -67,6 +67,7 @@ class WebURLRequest;
|
| class WebView;
|
| struct WebConsoleMessage;
|
| struct WebFindOptions;
|
| +struct WebPoint;
|
| struct WebRect;
|
| struct WebScriptSource;
|
| struct WebSize;
|
| @@ -370,8 +371,15 @@ public:
|
|
|
| virtual WebRange markedRange() const = 0;
|
|
|
| + // Returns the frame rectangle in window coordinate space of the given text
|
| + // range.
|
| 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
|
| + // WTF::notFound if the point is invalid.
|
| + virtual unsigned characterIndexForPoint(const WebPoint& point) const = 0;
|
| +
|
| // Supports commands like Undo, Redo, Cut, Copy, Paste, SelectAll,
|
| // Unselect, etc. See EditorCommand.cpp for the full list of supported
|
| // commands.
|
|
|