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

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

Issue 17447005: <webview>: Move back, forward, canGoBack, canGoForward, go from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@filter_listener
Patch Set: Merge against latest changes in other CL Created 7 years, 6 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 c525e2cdb3cd0a08b0476a4cbe14fdc4b7776f2c..ea4af989888049bde7d1e4f8bf39901caf75bdf3 100644
--- a/chrome/browser/extensions/api/webview/webview_api.h
+++ b/chrome/browser/extensions/api/webview/webview_api.h
@@ -49,4 +49,18 @@ class WebviewInsertCSSFunction : public WebviewExecuteCodeFunction {
DECLARE_EXTENSION_FUNCTION("webview.insertCSS", WEBVIEW_INSERTCSS)
};
+
+class WebviewGoFunction : public AsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("webview.go", WEBVIEW_GO);
+
+ WebviewGoFunction();
+
+ protected:
+ virtual ~WebviewGoFunction();
+
+ // ExtensionFunction implementation.
+ virtual bool RunImpl() OVERRIDE;
lazyboy 2013/06/22 04:29:15 private: DISALLOW_COPY_AND_ASSIGN Seems other func
Fady Samuel 2013/06/25 15:46:12 chrome/browser/extensions/extension_function_regis
lazyboy 2013/06/25 15:58:50 OK, I'd add a comment that says DISALLOW_COPY_AND_
Fady Samuel 2013/06/25 19:22:05 Looks like I was wrong. DISALLOW_COPY_AND_ASSIGN w
+};
+
#endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_

Powered by Google App Engine
This is Rietveld 408576698