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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 10960003: Browser Plugin: Implement Back, Forward, and Go. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a test 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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 29f9b6dc55798dafa0286f5266877d4e6bdaa855..c943043e08ef1227e888e5d02fd90f4185b7761b 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -57,6 +57,15 @@ class CONTENT_EXPORT BrowserPlugin :
// Remove a custom event listener from this BrowserPlugin instance.
bool RemoveEventListener(const std::string& event_name,
v8::Local<v8::Function> function);
+ // Tells the BrowserPlugin to tell the guest to navigate to the previous
+ // navigation entry in the navigation history.
+ void Back();
+ // Tells the BrowserPlugin to tell the guest to navigate to the next
+ // navigation entry in the navigation history.
+ void Forward();
+ // Tells the BrowserPlugin to tell the guest to navigate to a position
+ // relative to the current index in its navigation history.
+ void Go(int relativeIndex);
// WebKit::WebPlugin implementation.
virtual WebKit::WebPluginContainer* container() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698