Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2164)

Unified Diff: chrome/browser/resources/chromeos/login/saml_confirm_password.html

Issue 2961103003: CrOS OOBE login: Replace last usages of paper-dialog with cr-dialog. (Closed)
Patch Set: Tweak Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/saml_confirm_password.html
diff --git a/chrome/browser/resources/chromeos/login/saml_confirm_password.html b/chrome/browser/resources/chromeos/login/saml_confirm_password.html
index cc4b83b823575677d45e82fe20fe8e588526caa7..50d94aa4d11502155436cadda7bc522ac0205860 100644
--- a/chrome/browser/resources/chromeos/login/saml_confirm_password.html
+++ b/chrome/browser/resources/chromeos/login/saml_confirm_password.html
@@ -2,13 +2,14 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
+<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animated-pages.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dialog.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<!--
@@ -41,6 +42,7 @@
<link rel="stylesheet" href="saml_confirm_password.css">
<template>
+ <style include="cr-shared-style"></style>
<neon-animated-pages id="animatedPages" class="fit"
entry-animation="fade-in-animation" exit-animation="fade-out-animation"
on-neon-animation-finish="onAnimationFinish_" selected="0">
@@ -75,18 +77,18 @@
disabled="[[disabled]]">
</navigation-bar>
- <paper-dialog id="cancelConfirmDlg" no-cancel-on-outside-click
- on-iron-overlay-closed="onDialogOverlayClosed_">
- <h2 i18n-content="accountSetupCancelDialogTitle"></h2>
- <div class="buttons">
- <gaia-button type="dialog" dialog-dismiss autofocus
- i18n-content="accountSetupCancelDialogNo">
- </gaia-button>
- <gaia-button type="dialog" dialog-confirm on-tap="onConfirmCancel_"
- i18n-content="accountSetupCancelDialogYes">
- </gaia-button>
+ <dialog is="cr-dialog" id="cancelConfirmDlg"
+ on-close="onDialogOverlayClosed_">
+ <div class="body" i18n-content="accountSetupCancelDialogTitle"></div>
+ <div class="button-container">
+ <paper-button class="action-button"
+ i18n-content="accountSetupCancelDialogNo" on-tap="onCancelNo_">
+ </paper-button>
+ <paper-button class="cancel-button"
+ i18n-content="accountSetupCancelDialogYes" on-tap="onCancelYes_">
+ </paper-button>
</div>
- </paper-dialog>
+ </dialog>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698