| Index: Source/WebKit/chromium/public/WebFrame.h
|
| diff --git a/Source/WebKit/chromium/public/WebFrame.h b/Source/WebKit/chromium/public/WebFrame.h
|
| index bbb3c59df6a1fe41f614a9d5e683f71f4b56bb09..7b0624b1d64bb6ab80be9da828611ae4f5125ca3 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;
|
| @@ -379,8 +380,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&) const = 0;
|
| +
|
| // Supports commands like Undo, Redo, Cut, Copy, Paste, SelectAll,
|
| // Unselect, etc. See EditorCommand.cpp for the full list of supported
|
| // commands.
|
|
|