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

Side by Side Diff: ui/file_manager/gallery/js/background.js

Issue 676633002: Remove file-level 'use strict' from file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 'use strict';
6
7 /** 5 /**
8 * @param {Object.<string, string>} stringData String data. 6 * @param {Object.<string, string>} stringData String data.
9 * @param {VolumeManager} volumeManager Volume manager. 7 * @param {VolumeManager} volumeManager Volume manager.
10 */ 8 */
11 function BackgroundComponents(stringData, volumeManager) { 9 function BackgroundComponents(stringData, volumeManager) {
12 /** 10 /**
13 * String data. 11 * String data.
14 * @type {Object.<string, string>} 12 * @type {Object.<string, string>}
15 */ 13 */
16 this.stringData = stringData; 14 this.stringData = stringData;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 chrome.runtime.onMessageExternal.addListener(function(message) { 206 chrome.runtime.onMessageExternal.addListener(function(message) {
209 if (message.name !== 'testResourceLoaded') 207 if (message.name !== 'testResourceLoaded')
210 return; 208 return;
211 var script = document.createElement('script'); 209 var script = document.createElement('script');
212 script.src = 210 script.src =
213 'chrome-extension://' + window.testExtensionId + 211 'chrome-extension://' + window.testExtensionId +
214 '/common/test_loader.js'; 212 '/common/test_loader.js';
215 document.documentElement.appendChild(script); 213 document.documentElement.appendChild(script);
216 }); 214 });
217 } 215 }
OLDNEW
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/tree.css.js ('k') | ui/file_manager/gallery/js/error_banner.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698