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

Unified Diff: public/web/WebScriptSource.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/WebScriptSource.h
diff --git a/public/web/WebScriptSource.h b/public/web/WebScriptSource.h
index 8d2709679e2b949c2b75fd3cb652233e9729e7e9..0738adc425b68c3837126133fc108b8d5a95d6e4 100644
--- a/public/web/WebScriptSource.h
+++ b/public/web/WebScriptSource.h
@@ -36,6 +36,8 @@
namespace blink {
+class ScriptSourceCode;
+
struct WebScriptSource {
WebString code;
WebURL url;
@@ -47,6 +49,10 @@ struct WebScriptSource {
: code(code), url(url), startLine(1) { }
WebScriptSource(const WebString& code, const WebURL& url, int startLine)
: code(code), url(url), startLine(startLine) { }
+
+#if BLINK_IMPLEMENTATION
+ operator ScriptSourceCode() const;
+#endif
};
} // namespace blink
« Source/web/WebLocalFrameImpl.cpp ('K') | « public/web/WebScriptExecutionCallback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698