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

Unified Diff: chrome/browser/resources/file_manager/background.html

Issue 6873100: Moving slideshow to the filebrowser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: chrome/browser/resources/file_manager/background.html
===================================================================
--- chrome/browser/resources/file_manager/background.html (revision 0)
+++ chrome/browser/resources/file_manager/background.html (revision 0)
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script>
+
+var last_file_entries = null;
+
+function getLastFileEntries() {
+ return last_file_entries;
+}
+
+chrome.fileBrowserHandler.onExecute.addListener(
+ function(id, file_entries) {
+ last_file_entries = file_entries;
+
+ chrome.tabs.create({
+ url: "slideshow.html"
+ });
+ }
+);
+</script>
+</body>
+</html>
Property changes on: chrome/browser/resources/file_manager/background.html
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698