blob: 5417428c93700d3a10156315199b87b425c1f4a0 [file] [log] [blame]
// 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};
});