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

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

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/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 31a78467a65d57d70e50da1e131de0351542d808..9524e4e23d69b9fa2ab96eb9a1c4b506feea8c25 100644
--- a/content/test/data/browser_plugin_embedder.html
+++ b/content/test/data/browser_plugin_embedder.html
@@ -8,6 +8,18 @@ function SetSize(w, h) {
plugin.width = w;
plugin.height = h;
}
+function Back() {
+ plugin = document.getElementById('plugin');
lazyboy 2012/09/20 20:05:42 here and below: var plugin = document.getElementBy
Fady Samuel 2012/09/21 15:21:56 Done.
+ plugin.back();
+}
+function Forward() {
+ plugin = document.getElementById('plugin');
+ plugin.forward();
+}
+function Go(relativeIndex) {
+ plugin = document.getElementById('plugin');
+ plugin.go(relativeIndex);
+}
</script>
<object id="plugin"

Powered by Google App Engine
This is Rietveld 408576698