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

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: 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
« no previous file with comments | « chrome/browser/webview/webview_constants.cc ('k') | chrome/browser/webview/webview_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webview/webview_guest.h
diff --git a/chrome/browser/webview/webview_guest.h b/chrome/browser/webview/webview_guest.h
index da406a0bf170b2f6b9b9dd40a96ed823ce47a1dd..e66274e1ca2f81a7c499d2c78dcd171636d5e7be 100644
--- a/chrome/browser/webview/webview_guest.h
+++ b/chrome/browser/webview/webview_guest.h
@@ -38,6 +38,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() {
« no previous file with comments | « chrome/browser/webview/webview_constants.cc ('k') | chrome/browser/webview/webview_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698