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

Unified Diff: content/test/data/browser_plugin_embedder.html

Issue 11092023: Browser Plugin: Implement CanGoBack/CanGoForward (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/test/data/browser_plugin_embedder.html
diff --git a/content/test/data/browser_plugin_embedder.html b/content/test/data/browser_plugin_embedder.html
index 45b374e3ac9f9d91494114f5cfb0b6418c9a0168..e192865d642cff04036c1a84c1e3e849e04cb307 100644
--- a/content/test/data/browser_plugin_embedder.html
+++ b/content/test/data/browser_plugin_embedder.html
@@ -27,6 +27,14 @@ function Back() {
var plugin = document.getElementById('plugin');
plugin.back();
}
+function CanGoBack() {
+ var plugin = document.getElementById('plugin');
+ return plugin.canGoBack();
+}
+function CanGoForward() {
+ var plugin = document.getElementById('plugin');
+ return plugin.canGoForward();
+}
function Forward() {
var plugin = document.getElementById('plugin');
plugin.forward();

Powered by Google App Engine
This is Rietveld 408576698