blob: 34f83a9086e2329509de7b08f0adb6b98af3272f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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.
(function() {
// Since all we want here is forwarding of certain commands, all can be done
// in the anonymous function's scope.
function wireUpWindow() {
$('launch-button').addEventListener('click', function() {
chrome.send('SetAsDefaultBrowser:LaunchSetDefaultBrowserFlow');
});
}
window.addEventListener('DOMContentLoaded', wireUpWindow);
})();
|