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

Side by Side Diff: ui/file_manager/zip_archiver/unpacker/js/background.js

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 'use strict';
6
7 // Event called on opening a file with the extension or mime type
8 // declared in the manifest file.
9 chrome.app.runtime.onLaunched.addListener(unpacker.app.onLaunched);
10
11 // Save the state before suspending the event page, so we can resume it
12 // once new events arrive.
13 chrome.runtime.onSuspend.addListener(unpacker.app.onSuspend);
14
15 chrome.fileSystemProvider.onUnmountRequested.addListener(
16 unpacker.app.onUnmountRequested);
17 chrome.fileSystemProvider.onGetMetadataRequested.addListener(
18 unpacker.app.onGetMetadataRequested);
19 chrome.fileSystemProvider.onReadDirectoryRequested.addListener(
20 unpacker.app.onReadDirectoryRequested);
21 chrome.fileSystemProvider.onOpenFileRequested.addListener(
22 unpacker.app.onOpenFileRequested);
23 chrome.fileSystemProvider.onCloseFileRequested.addListener(
24 unpacker.app.onCloseFileRequested);
25 chrome.fileSystemProvider.onReadFileRequested.addListener(
26 unpacker.app.onReadFileRequested);
27
28 // Load the PNaCl module.
29 unpacker.app.loadNaclModule('module.nmf', 'application/x-pnacl');
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/unpacker/js/app.js ('k') | ui/file_manager/zip_archiver/unpacker/js/build-config.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698