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

Unified Diff: chrome/browser/webview/webview_guest.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/webview/webview_guest.h
diff --git a/chrome/browser/webview/webview_guest.h b/chrome/browser/webview/webview_guest.h
index 487e17fa46fb27bd1e6aec3bfcee33b6c5c8e88c..21104e5dbc77d94285d50d4fea29b788ee60b739 100644
--- a/chrome/browser/webview/webview_guest.h
+++ b/chrome/browser/webview/webview_guest.h
@@ -39,6 +39,10 @@ class WebViewGuest : public content::WebContentsObserver {
return WebContentsObserver::web_contents();
}
+ // If possible, navigate the guest to |relative_index| entries away from the
+ // current navigation entry.
+ void Go(int relative_index);
+
int instance_id() const { return webview_instance_id_; }
extensions::ScriptExecutor* script_executor() {

Powered by Google App Engine
This is Rietveld 408576698