Index: chrome/browser/resources/file_manager/js/main.js |
diff --git a/chrome/browser/resources/file_manager/js/main.js b/chrome/browser/resources/file_manager/js/main.js |
deleted file mode 100644 |
index f32c0a1ef470a3e04654a2eb1edaa7b7c9f37854..0000000000000000000000000000000000000000 |
--- a/chrome/browser/resources/file_manager/js/main.js |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-'use strict'; |
- |
-/** |
- * @type {FileManager} |
- */ |
-var fileManager; |
- |
-/** |
- * Indicates if the DOM and scripts have been already loaded. |
- * @type {boolean} |
- */ |
-var pageLoaded = false; |
- |
-/** |
- * Kick off the file manager dialog. |
- * Called by main.html after the DOM has been parsed. |
- */ |
-function init() { |
- // Initializes UI and starts the File Manager dialog. |
- fileManager.initializeUI(document.body, function() { |
- chrome.test.sendMessage('ready'); |
- metrics.recordInterval('Load.Total'); |
- }); |
-} |
- |
-// Create the File Manager object. Note, that the DOM, nor any external |
-// scripts may not be ready yet. |
-fileManager = new FileManager(); |
- |
-// Initialize the core stuff, which doesn't require access to DOM nor to |
-// additional scripts. |
-fileManager.initializeCore(); |
- |
-// Final initialization is performed after all scripts and Dom is loaded. |
-util.addPageLoadHandler(init); |
- |
-metrics.recordInterval('Load.Script'); // Must be the last line. |