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

Unified Diff: chrome/browser/resources/md_user_manager/error_dialog.html

Issue 2957943003: MD User manager: Migrate from PaperDialogBehavior to cr-dialog. (Closed)
Patch Set: Restore color. 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
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/md_user_manager/error_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_user_manager/error_dialog.html
diff --git a/chrome/browser/resources/md_user_manager/error_dialog.html b/chrome/browser/resources/md_user_manager/error_dialog.html
index 6c403d34c7c40f42d81cade4dd7af22f81ae41fc..f7964ca38e75351d6a688e3e1f83f1b2c9877bf9 100644
--- a/chrome/browser/resources/md_user_manager/error_dialog.html
+++ b/chrome/browser/resources/md_user_manager/error_dialog.html
@@ -1,14 +1,12 @@
<link rel="import" href="/shared_styles.html">
-<link rel="import" href="/user_manager_dialog.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<dom-module id="error-dialog">
<template>
<style include="shared-styles">
- #dialog {
- --user-manager-dialog-title-bar: {
- border-bottom: 0;
- };
+ :host {
+ color: var(--primary-text-color);
}
#message {
@@ -17,11 +15,11 @@
word-wrap: break-word;
}
</style>
- <user-manager-dialog id="dialog">
+ <dialog is="cr-dialog" id="dialog">
<div class="body">
<div id="message">[[message_]]</div>
</div>
- </user-manager-dialog>
+ </dialog>
</template>
<script src="error_dialog.js"></script>
</dom-module>
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/md_user_manager/error_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698