summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebFrame.h')
-rw-r--r--Source/WebKit/chromium/public/WebFrame.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/public/WebFrame.h b/Source/WebKit/chromium/public/WebFrame.h
index 0d5406d52..da795ae8d 100644
--- a/Source/WebKit/chromium/public/WebFrame.h
+++ b/Source/WebKit/chromium/public/WebFrame.h
@@ -33,10 +33,10 @@
#include "WebIconURL.h"
#include "WebNode.h"
-#include "WebReferrerPolicy.h"
#include "WebURLLoaderOptions.h"
#include "platform/WebCanvas.h"
#include "platform/WebFileSystem.h"
+#include "platform/WebReferrerPolicy.h"
#include "platform/WebURL.h"
struct NPObject;
@@ -44,6 +44,8 @@ struct NPObject;
#if WEBKIT_USING_V8
namespace v8 {
class Context;
+class Function;
+class Object;
class Value;
template <class T> class Handle;
template <class T> class Local;
@@ -274,6 +276,18 @@ public:
virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
const WebScriptSource&) = 0;
+ virtual void executeScriptInIsolatedWorld(
+ int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
+ int extensionGroup, WebVector<v8::Local<v8::Value> >* results) = 0;
+
+ // Call the function with the given receiver and arguments, bypassing
+ // canExecute().
+ virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled(
+ v8::Handle<v8::Function>,
+ v8::Handle<v8::Object>,
+ int argc,
+ v8::Handle<v8::Value> argv[]) = 0;
+
// Returns the V8 context for this frame, or an empty handle if there
// is none.
virtual v8::Local<v8::Context> mainWorldScriptContext() const = 0;
@@ -436,6 +450,8 @@ public:
virtual void selectRange(const WebPoint& start, const WebPoint& end) = 0;
+ virtual void selectRange(const WebRange&) = 0;
+
// Printing ------------------------------------------------------------