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

Unified Diff: chrome/browser/resources/file_manager/js/mock_chrome.js

Issue 8554003: [filebrowser] Add left panel with roots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/js/mock_chrome.js
===================================================================
--- chrome/browser/resources/file_manager/js/mock_chrome.js (revision 110472)
+++ chrome/browser/resources/file_manager/js/mock_chrome.js (working copy)
@@ -59,6 +59,25 @@
},
/**
+ * File/directory changed notification.
Vladislav Kaznacheev 2011/11/22 13:16:35 I already added those yesterday:)
dgozman 2011/11/22 14:15:14 Done.
+ */
+ onFileChanged: {
+ addListener: function(cb) {}
+ },
+
+ /**
+ * Add watch to file to get onFileChanged events.
+ */
+ addFileWatch: function(url, callback) {
+ },
+
+ /**
+ * Remove watch from file.
+ */
+ removeFileWatch: function(url, callback) {
+ },
+
+ /**
* Returns common tasks for a given list of files.
*/
getFileTasks: function(urlList, callback) {
@@ -203,6 +222,7 @@
ROOT_DIRECTORY_LABEL: 'Files',
DOWNLOADS_DIRECTORY_LABEL: 'File Shelf',
+ CHROMEBOOK_DIRECTORY_LABEL: 'Chromebook',
DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. <a href='javascript://'>Learn More</a>",
MEDIA_DIRECTORY_LABEL: 'External Storage',
NAME_COLUMN_LABEL: 'Name',

Powered by Google App Engine
This is Rietveld 408576698