blob: 2590f8b3bfb7179835c3a66b25a2d5f90f941766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// 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.
/** @const */ var ItemList = apps_dev_tool.ItemsList;
document.addEventListener('DOMContentLoaded', function() {
apps_dev_tool.AppsDevTool.initStrings();
$('search').addEventListener('input', ItemList.onSearchInput);
ItemList.loadItemsInfo();
});
var appsDevTool = new apps_dev_tool.AppsDevTool();
window.addEventListener('load', function(e) {
appsDevTool.initialize();
});
chrome.management.onInstalled.addListener(function(info) {
ItemList.loadItemsInfo(function() {
ItemList.makeUnpackedExtensionVisible(info.id);
});
});
chrome.management.onUninstalled.addListener(function() {
ItemList.loadItemsInfo();
});
chrome.developerPrivate.onItemStateChanged.addListener(function(response) {
ItemList.loadItemsInfo();
});
|