| Index: Source/WebKit/chromium/src/WebFrameImpl.h
|
| diff --git a/Source/WebKit/chromium/src/WebFrameImpl.h b/Source/WebKit/chromium/src/WebFrameImpl.h
|
| index 55a9f54c7eeb7ddf3fd4162716cc306ff4d0241d..fda30fbffcd6634e23dc6f36139cb031349b7516 100644
|
| --- a/Source/WebKit/chromium/src/WebFrameImpl.h
|
| +++ b/Source/WebKit/chromium/src/WebFrameImpl.h
|
| @@ -141,6 +141,7 @@ public:
|
| virtual bool hasMarkedText() const;
|
| virtual WebRange markedRange() const;
|
| virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const;
|
| + virtual unsigned characterIndexForPoint(const WebPoint& point) const;
|
| virtual bool executeCommand(const WebString&);
|
| virtual bool executeCommand(const WebString&, const WebString& value);
|
| virtual bool isCommandEnabled(const WebString&) const;
|
| @@ -320,6 +321,13 @@ private:
|
|
|
| void loadJavaScriptURL(const WebCore::KURL&);
|
|
|
| + // Given a point in content coordinate space, this will return a Range that
|
| + // contains that point.
|
| + WebCore::Range* characterRangeAtPoint(const WebCore::IntPoint& point) const;
|
| +
|
| + // Takes in a Range and extracts a location and length of that range.
|
| + bool getLocationAndLengthFromRange(WebCore::Range* range, unsigned& location, unsigned& length) const;
|
| +
|
| FrameLoaderClientImpl m_frameLoaderClient;
|
|
|
| WebFrameClient* m_client;
|
|
|