blob: 5417428c93700d3a10156315199b87b425c1f4a0 (
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
|
// Copyright 2017 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.
cr.define('extensions', function() {
'use strict';
const InstallWarningsDialog = Polymer({
is: 'extensions-install-warnings-dialog',
properties: {
/** @type {!Array<string>} */
installWarnings: Array,
},
/** @override */
attached: function() {
this.$.dialog.showModal();
},
/** @private */
onOkTap_: function() {
this.$.dialog.close();
},
});
return {InstallWarningsDialog: InstallWarningsDialog};
});
|