Commit e6a2544d authored by Yunke Zhou's avatar Yunke Zhou Committed by Chromium LUCI CQ

oobe-adaptive-dialog: use oobe-dialog-host shared style

Bug: 1151292
Change-Id: I104852ac093569248e1dc0ba5c04e728493f42d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623548Reviewed-by: default avatarDenis Kuznetsov [CET] <antrim@chromium.org>
Reviewed-by: default avatarRoman Aleksandrov <raleksandrov@google.com>
Commit-Queue: Yunke Zhou <yunkez@google.com>
Cr-Commit-Position: refs/heads/master@{#842512}
parent 32ef5405
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
--> -->
<dom-module id="oobe-adaptive-dialog"> <dom-module id="oobe-adaptive-dialog">
<template> <template>
<style include="oobe-dialog-host"></style>
<oobe-dialog id="dialog" has-buttons hide-shadow$="[[hideShadow]]" <oobe-dialog id="dialog" has-buttons hide-shadow$="[[hideShadow]]"
no-lazy$="[[noLazy]]" no-header$="[[noHeader]]" no-lazy$="[[noLazy]]" no-header$="[[noHeader]]"
no-footer-padding$="[[noFooterPadding]]" no-footer-padding$="[[noFooterPadding]]"
...@@ -32,4 +33,3 @@ ...@@ -32,4 +33,3 @@
</template> </template>
<script src="oobe_adaptive_dialog.js"></script> <script src="oobe_adaptive_dialog.js"></script>
</dom-module> </dom-module>
...@@ -66,7 +66,7 @@ Polymer({ ...@@ -66,7 +66,7 @@ Polymer({
* This is called from oobe_welcome when this dialog is shown. * This is called from oobe_welcome when this dialog is shown.
*/ */
show() { show() {
this.$.show(); this.$.dialog.show();
}, },
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment