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

Unified Diff: chrome/browser/extensions/api/webview/webview_api.h

Issue 226043005: Fix webview.executeScript API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. Created 6 years, 8 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: chrome/browser/extensions/api/webview/webview_api.h
diff --git a/chrome/browser/extensions/api/webview/webview_api.h b/chrome/browser/extensions/api/webview/webview_api.h
index 00bb2fed98ea86a447d052b1c409976ff7f00343..a34f378c2ba4f7901b1c0a41b3166d66e72bbb4c 100644
--- a/chrome/browser/extensions/api/webview/webview_api.h
+++ b/chrome/browser/extensions/api/webview/webview_api.h
@@ -138,6 +138,7 @@ class WebviewExecuteCodeFunction : public extensions::ExecuteCodeFunction {
// Guarded by a process ID check.
virtual extensions::ScriptExecutor* GetScriptExecutor() OVERRIDE FINAL;
virtual bool IsWebView() const OVERRIDE;
+ virtual std::string GetWebViewSrc() const OVERRIDE;
private:
// Contains extension resource built from path of file which is
@@ -146,6 +147,8 @@ class WebviewExecuteCodeFunction : public extensions::ExecuteCodeFunction {
int guest_instance_id_;
+ std::string guest_src_;
+
DISALLOW_COPY_AND_ASSIGN(WebviewExecuteCodeFunction);
};

Powered by Google App Engine
This is Rietveld 408576698