blob: cd2feba9eb72d9c277ce8b3293d24b72d07b5f6d (
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
|
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="/shared_styles.html">
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<dom-module id="error-dialog">
<template>
<style include="shared-styles">
:host {
color: var(--primary-text-color);
}
#message {
margin-bottom: 52px;
white-space: pre-wrap;
word-wrap: break-word;
}
</style>
<cr-dialog id="dialog" show-close-button>
<div slot="body">
<div id="message">[[message_]]</div>
</div>
</cr-dialog>
</template>
<script src="error_dialog.js"></script>
</dom-module>
|