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

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

Issue 8538009: Cleaning up and updating mock_chrome.js (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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
« no previous file with comments | « chrome/browser/resources/file_manager/js/metadata_provider.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/mock_chrome.js
diff --git a/chrome/browser/resources/file_manager/js/mock_chrome.js b/chrome/browser/resources/file_manager/js/mock_chrome.js
index df396ecae66710435124d2354410ba6ced4083cc..7941493d5305983ccabb9476fcc9fb0f053805e7 100644
--- a/chrome/browser/resources/file_manager/js/mock_chrome.js
+++ b/chrome/browser/resources/file_manager/js/mock_chrome.js
@@ -53,11 +53,6 @@ chrome.fileBrowserPrivate = {
/**
* Disk mount/unmount notification.
*/
- onDiskChanged: {
- callbacks: [],
- addListener: function(cb) { this.callbacks.push(cb) }
- },
-
onMountCompleted: {
callbacks: [],
addListener: function(cb) { this.callbacks.push(cb) }
@@ -190,6 +185,8 @@ chrome.fileBrowserPrivate = {
}
},
+ getSizeStats: function() {},
+
/**
* Return localized strings.
*/
@@ -235,6 +232,7 @@ chrome.fileBrowserPrivate = {
UNMOUNT_ARCHIVE: 'Close archive',
FORMAT_DEVICE: 'Format device',
+ ENABLE_PHOTO_EDITOR: 'true',
GALLERY: 'View and Edit',
GALLERY_EDIT: 'Edit',
GALLERY_SHARE: 'Share',
@@ -352,13 +350,6 @@ chrome.fileBrowserPrivate = {
}
};
-chrome.fileBrowserHandler = {
- onExecute: {
- callbacks: [],
- addListener: function(cb) { this.callbacks.push(cb) }
- }
-};
-
chrome.extension = {
getURL: function(path) {
return path || document.location.href;
« no previous file with comments | « chrome/browser/resources/file_manager/js/metadata_provider.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698