Add webframe. executeJavaScriptInIsolatedWorld
Attempt runInIsolatedWorldContext Replace RunInIsolatedWorldContext by GetIsolatedWorldGlobalObject Fix linting Remove useless getIsolatedWorldGlobalObject Add support for scriptExecutionType
This commit is contained in:
parent
f01cbf0482
commit
936d8c1117
2 changed files with 54 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/renderer/guest_view_container.h"
|
||||
#include "native_mate/handle.h"
|
||||
|
@ -73,6 +74,9 @@ class WebFrame : public mate::Wrappable<WebFrame> {
|
|||
|
||||
// Excecuting scripts.
|
||||
void ExecuteJavaScript(const base::string16& code, mate::Arguments* args);
|
||||
void ExecuteJavaScriptInIsolatedWorld(int world_id,
|
||||
const base::string16& code,
|
||||
mate::Arguments* args);
|
||||
|
||||
// Resource related methods
|
||||
blink::WebCache::ResourceTypeStats GetResourceUsage(v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue