OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox
y.html"> | 2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox
y.html"> |
3 <link rel="import" href="chrome://md-settings/i18n_setup.html"> | 3 <link rel="import" href="chrome://md-settings/i18n_setup.html"> |
4 <link rel="import" href="chrome://md-settings/icons.html"> | 4 <link rel="import" href="chrome://md-settings/icons.html"> |
5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h
tml"> | 5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h
tml"> |
6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa
ges.html"> | 6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa
ges.html"> |
7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm
l"> | 7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm
l"> |
8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 10 <link rel="import" href="chrome://resources/html/assert.html"> |
10 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 11 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
11 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 12 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
12 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 13 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
13 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 14 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
14 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 15 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
15 | 16 |
16 <if expr="chromeos"> | 17 <if expr="chromeos"> |
17 <link rel="import" href="chrome://md-settings/about_page/detailed_build_info.htm
l"> | 18 <link rel="import" href="chrome://md-settings/about_page/detailed_build_info.htm
l"> |
18 <link rel="import" href="chrome://md-settings/settings_page/settings_subpage.htm
l"> | 19 <link rel="import" href="chrome://md-settings/settings_page/settings_subpage.htm
l"> |
19 </if> | 20 </if> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 icon$="[[getIcon_(currentUpdateStatusEvent_)]]" | 62 icon$="[[getIcon_(currentUpdateStatusEvent_)]]" |
62 src="[[getIconSrc_(currentUpdateStatusEvent_)]]"> | 63 src="[[getIconSrc_(currentUpdateStatusEvent_)]]"> |
63 </iron-icon> | 64 </iron-icon> |
64 </div> | 65 </div> |
65 <div class="start"> | 66 <div class="start"> |
66 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_)
]]"> | 67 <div hidden="[[!shouldShowUpdateStatus_(currentUpdateStatusEvent_)
]]"> |
67 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]] | 68 [[getUpdateStatusMessage_(currentUpdateStatusEvent_)]] |
68 </div> | 69 </div> |
69 <div class="secondary">$i18n{aboutBrowserVersion}</div> | 70 <div class="secondary">$i18n{aboutBrowserVersion}</div> |
70 </div> | 71 </div> |
| 72 <paper-button id="relaunch" class="secondary-action" |
| 73 hidden="[[!shouldShowRelaunch_(currentUpdateStatusEvent_)]]" |
| 74 on-tap="onRelaunchTap_"> |
| 75 $i18n{aboutRelaunch} |
| 76 </paper-button> |
71 <if expr="chromeos"> | 77 <if expr="chromeos"> |
72 <paper-button class="secondary-action">Check for update</paper-butto
n> | 78 <paper-button id="relaunchAndPowerwash" class="secondary-action" |
| 79 hidden="[[!shouldShowRelaunchAndPowerwash_(currentUpdateStatusEv
ent_)]]" |
| 80 on-tap="onRelaunchAndPowerwashTap_"> |
| 81 $i18n{aboutRelaunchAndPowerwash} |
| 82 </paper-button> |
| 83 <paper-button id="checkForUpdates" class="secondary-action" |
| 84 hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)]]" |
| 85 on-tap="onCheckUpdatesTap_"> |
| 86 $i18n{aboutCheckForUpdates} |
| 87 </paper-button> |
73 </if> | 88 </if> |
74 </div> | 89 </div> |
75 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> | 90 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> |
76 $i18n{aboutGetHelpUsingChrome} | 91 $i18n{aboutGetHelpUsingChrome} |
77 </div> | 92 </div> |
78 <if expr="_google_chrome"> | 93 <if expr="_google_chrome"> |
79 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_"> | 94 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_"> |
80 $i18n{aboutReportAnIssue} | 95 $i18n{aboutReportAnIssue} |
81 </div> | 96 </div> |
82 </if> | 97 </if> |
83 <if expr="chromeos"> | 98 <if expr="chromeos"> |
84 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> | 99 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> |
85 <!-- TODO(dpapad): Localize string. --> | 100 <!-- TODO(dpapad): Localize string. --> |
86 Detailed build info | 101 Detailed build info |
87 </div> | 102 </div> |
88 </if> | 103 </if> |
89 </neon-animatable> | 104 </neon-animatable> |
90 <if expr="chromeos"> | 105 <if expr="chromeos"> |
91 <template is="dom-if" name="detailed-build-info"> | 106 <template is="dom-if" name="detailed-build-info"> |
92 <settings-subpage page-title="Detailed build information"> | 107 <settings-subpage page-title="Detailed build information"> |
93 <settings-detailed-build-info></settings-detailed-build-info> | 108 <settings-detailed-build-info></settings-detailed-build-info> |
94 </settings-subpage> | 109 </settings-subpage> |
95 </template> | 110 </template> |
96 </if> | 111 </if> |
97 </settings-animated-pages> | 112 </settings-animated-pages> |
98 </settings-section> | 113 </settings-section> |
99 </template> | 114 </template> |
100 <script src="about_page.js"></script> | 115 <script src="about_page.js"></script> |
101 </dom-module> | 116 </dom-module> |
OLD | NEW |