summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/login/host-pairing-screen.js
blob: bfeed107a79ae5a3d333d22a49c7aa2c12b71556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 The Chromium Authors. All rights reserved.
// 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() {
  'use strict';

  /** @const */ var CALLBACK_CONTEXT_READY = 'contextReady';

  return {
    onBeforeShow: function() {
      Oobe.getInstance().headerHidden = true;
    },

    /** @override */
    initialize: function() {
      this.send(CALLBACK_CONTEXT_READY);
    }
  };
})());