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

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: 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
« no previous file with comments | « content/common/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4777f3ee9164bc02f5b5cdd2dacbda4e637e8fe8..daebe8323cfc3589c038e3f4aa78f2f6f186c47e 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -70,6 +70,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);
// A request from Javascript has been made to stop the loading of the page.
void Stop();
« no previous file with comments | « content/common/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698