diff options
Diffstat (limited to 'WebKit/chromium/public/WebBindings.h')
-rw-r--r-- | WebKit/chromium/public/WebBindings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebBindings.h b/WebKit/chromium/public/WebBindings.h index 0fa3bfd..bca4095 100644 --- a/WebKit/chromium/public/WebBindings.h +++ b/WebKit/chromium/public/WebBindings.h @@ -37,6 +37,7 @@ namespace WebKit { class WebDragData; +class WebElement; class WebRange; // A haphazard collection of functions for dealing with plugins. @@ -139,6 +140,10 @@ public: // If so, return that range as a WebRange object. WEBKIT_API static bool getRange(NPObject* range, WebRange*); + // Return true (success) if the given npobj is an element. + // If so, return that element as a WebElement object. + WEBKIT_API static bool getElement(NPObject* element, WebElement*); + // Exceptions ------------------------------------------------------------- typedef void (ExceptionHandler)(void* data, const NPUTF8* message); |