Elim cr-checkbox
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / login / oobe_screen_host_pairing.js
blob9b62a88e162403b225b3123c5955d8bf714f1237
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 /**
6 * @fileoverview host pairing screen implementation.
7 */
9 login.createScreen('HostPairingScreen', 'host-pairing', function() {
10 /**
11 * We can't pass Polymer screen directly to login.createScreen, because it
12 * changes object's prototype chain.
14 return {
15 polymerScreen_: null,
17 decorate: function() {
18 polymerScreen_ = this.children[0];
19 polymerScreen_.decorate(this);
22 onBeforeShow: function() {
23 polymerScreen_.onBeforeShow();
26 });