blob: c77f6161ec169f93dd22fa1c6f8005e0389f4d51 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/cr_elements/cr_link_row/cr_link_row.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="crostini_browser_proxy.html">
<link rel="import" href="../i18n_setup.html">
<link rel="import" href="../prefs/prefs_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="../settings_shared_css.html">
<dom-module id="settings-crostini-subpage">
<template>
<style include="settings-shared"></style>
<cr-link-row
id="crostini-shared-paths"
label="$i18n{crostiniSharedPaths}"
on-click="onSharedPathsClick_">
</cr-link-row>
<cr-link-row
class="hr"
label="$i18n{crostiniSharedUsbDevicesLabel}"
id="crostini-shared-usb-devices"
on-click="onSharedUsbDevicesClick_">
</cr-link-row>
<template is="dom-if" if="[[showCrostiniExportImport_]]">
<cr-link-row
class="hr"
label="$i18n{crostiniExportImportTitle}"
id="crostini-export-import"
on-click="onExportImportClick_">
</cr-link-row>
</template>
<template is="dom-if" if="[[!hideCrostiniUninstall_]]">
<div id="remove" class="settings-box">
<div id="removeCrostiniLabel" class="start">$i18n{crostiniRemove}</div>
<cr-button on-click="onRemoveClick_"
aria-labelledby="removeCrostiniLabel">
$i18n{crostiniRemoveButton}
</cr-button>
</div>
</template>
</template>
<script src="crostini_subpage.js"></script>
</dom-module>
|