Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: public/web/WebFrame.h

Issue 660863002: [DevTools] Added public method for async execution of scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added deprecated label for not suspendable execute methods Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 6ecff547db162b7d6ae3ff57677c5d161e2c6e6d..902499906cabc9450a81c709bdfb11f3c51ad3d0 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -299,11 +299,13 @@ public:
// Executes script in the context of the current page and returns the value
// that the script evaluated to.
+ // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue.
virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
const WebScriptSource&) = 0;
// worldID must be > 0 (as 0 represents the main world).
// worldID must be < EmbedderWorldIdLimit, high number used internally.
+ // DEPRECATED: Use WebLocalFrame::requestExecuteScriptInIsolatedWorld.
virtual void executeScriptInIsolatedWorld(
int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
int extensionGroup, WebVector<v8::Local<v8::Value> >* results) = 0;

Powered by Google App Engine
This is Rietveld 408576698