Commit 8b2febec authored by Renato Silva's avatar Renato Silva Committed by Commit Bot

OOBE - Add suffix to assistant custom element

The custom element used for the Assistant screen now has
a proper "-element" suffix to discern the dom-module from
the rest of its uses throughout the code. This is a necessary
change for using the HTMLImports polyfill in order to avoid
clashes in the names.

Bug: 1111387
Change-Id: Ib4ec56b74e2c9f035dc1a3166be8fd9b80a24b5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544543
Commit-Queue: Renato Silva <rrsilva@google.com>
Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
Reviewed-by: default avatarDenis Kuznetsov [CET] <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828280}
parent c7e9aa47
......@@ -44,7 +44,8 @@
</head>
<body>
<assistant-optin-flow id="assistant-optin-flow-card"></assistant-optin-flow>
<assistant-optin-flow-element id="assistant-optin-flow-card">
</assistant-optin-flow-element>
<script src="chrome://resources/js/i18n_template_no_process.js"></script>
<script src="chrome://resources/js/i18n_template_process.js"></script>
......
......@@ -18,7 +18,7 @@
<link rel="import" href="/components/oobe_i18n_behavior.html">
<link rel="import" href="/components/oobe_dialog.html">
<dom-module id="assistant-optin-flow">
<dom-module id="assistant-optin-flow-element">
<template>
<style include="oobe-common"></style>
<link rel="stylesheet" href="../login/oobe_popup_overlay.css">
......
......@@ -20,7 +20,7 @@
*/
Polymer({
is: 'assistant-optin-flow',
is: 'assistant-optin-flow-element',
behaviors: [OobeI18nBehavior, OobeDialogHostBehavior],
......
......@@ -8,6 +8,6 @@
<dom-module id="assistant-optin-element">
<template>
<assistant-optin-flow id="card"></assistant-optin-flow>
<assistant-optin-flow-element id="card"></assistant-optin-flow-element>
</template>
</dom-module>
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