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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 10960003: Browser Plugin: Implement Back, Forward, and Go. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 8 years, 3 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: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 8c21a72f6b4e5e11be48d8a64a551bbee4a3957a..2da07b50cc757e288dd7acd4d93e0f21b52c7ab2 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -128,6 +128,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsDelegate,
// Overridden in tests.
virtual bool ViewTakeFocus(bool reverse);
+ // If possible, navigate the guest to |relative_index| entries away from the
+ // current navigation entry.
+ virtual void Go(int relative_index);
// Overridden in tests.
virtual void SetFocus(bool focused);
// Reload the guest.

Powered by Google App Engine
This is Rietveld 408576698