From cfd86b747d32ac22246a1aa908eaa720c63a88c1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 7 Nov 2012 11:22:47 +0100 Subject: Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733) New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes. --- Source/WebKit/chromium/src/WebHitTestResult.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Source/WebKit/chromium/src/WebHitTestResult.cpp') diff --git a/Source/WebKit/chromium/src/WebHitTestResult.cpp b/Source/WebKit/chromium/src/WebHitTestResult.cpp index a839fb63e..7e5a9aefb 100644 --- a/Source/WebKit/chromium/src/WebHitTestResult.cpp +++ b/Source/WebKit/chromium/src/WebHitTestResult.cpp @@ -32,8 +32,10 @@ #include "Node.h" #include "RenderObject.h" #include "VisiblePosition.h" +#include "WebElement.h" #include "WebNode.h" #include +#include using namespace WebCore; @@ -49,6 +51,26 @@ WebPoint WebHitTestResult::localPoint() const return roundedIntPoint(m_private->localPoint()); } +WebElement WebHitTestResult::urlElement() const +{ + return WebElement(m_private->URLElement()); +} + +WebURL WebHitTestResult::absoluteImageURL() const +{ + return m_private->absoluteImageURL(); +} + +WebURL WebHitTestResult::absoluteLinkURL() const +{ + return m_private->absoluteLinkURL(); +} + +bool WebHitTestResult::isContentEditable() const +{ + return m_private->isContentEditable(); +} + WebHitTestResult::WebHitTestResult(const HitTestResult& result) { m_private.reset(new HitTestResult(result)); -- cgit v1.2.1