1 // Copyright (c) 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.
6 var has_cr
= !!global
.cr
;
7 var cr_define_bckp
= null;
8 if (has_cr
&& global
.cr
.define
)
9 cr_define_bckp
= global
.cr
.define
;
12 global
.cr
.define = function(_
, define
) {
13 global
.wug
= global
.wug
|| {}
14 global
.wug
.Context
= define().ScreenContext
;
16 <include src
="../../../chrome/browser/resources/chromeos/login/screen_context.js">
20 global
.cr
.define
= cr_define_bckp
;