| Index: chrome/browser/resources/chromeos/login/host-pairing-screen.js
|
| diff --git a/chrome/browser/resources/chromeos/login/host-pairing-screen.js b/chrome/browser/resources/chromeos/login/host-pairing-screen.js
|
| index bfeed107a79ae5a3d333d22a49c7aa2c12b71556..25baa3216509d1b33f322748eb1fbc2f12024a58 100644
|
| --- a/chrome/browser/resources/chromeos/login/host-pairing-screen.js
|
| +++ b/chrome/browser/resources/chromeos/login/host-pairing-screen.js
|
| @@ -2,19 +2,37 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -Polymer('host-pairing-screen', (function() {
|
| +Polymer({
|
| + is: 'host-pairing-page',
|
| +
|
| + behaviors: [Polymer.NeonAnimatableBehavior]
|
| +});
|
| +
|
| +Polymer((function() {
|
| 'use strict';
|
|
|
| /** @const */ var CALLBACK_CONTEXT_READY = 'contextReady';
|
|
|
| return {
|
| + is: 'host-pairing-screen',
|
| +
|
| + behaviors: [login.OobeScreenBehavior],
|
| +
|
| onBeforeShow: function() {
|
| Oobe.getInstance().headerHidden = true;
|
| },
|
|
|
| /** @override */
|
| initialize: function() {
|
| + ['code',
|
| + 'deviceName',
|
| + 'enrollmentDomain',
|
| + 'page'].forEach(this.registerBoundContextField, this);
|
| this.send(CALLBACK_CONTEXT_READY);
|
| + },
|
| +
|
| + getEnrollmentStepTitle_: function(enrollmentDomain) {
|
| + return this.i18n(['enrollingTitle', enrollmentDomain]);
|
| }
|
| };
|
| })());
|
|
|