Index: chrome/browser/resources/chromeos/login/host-pairing-screen.js |
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_host_pairing.js b/chrome/browser/resources/chromeos/login/host-pairing-screen.js |
similarity index 50% |
copy from chrome/browser/resources/chromeos/login/oobe_screen_host_pairing.js |
copy to chrome/browser/resources/chromeos/login/host-pairing-screen.js |
index 32beec2ffc3c8f9d7e5f9b3b9ed4379b28839d0c..bfeed107a79ae5a3d333d22a49c7aa2c12b71556 100644 |
--- a/chrome/browser/resources/chromeos/login/oobe_screen_host_pairing.js |
+++ b/chrome/browser/resources/chromeos/login/host-pairing-screen.js |
@@ -2,29 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-/** |
- * @fileoverview host pairing screen implementation. |
- */ |
- |
-login.createScreen('HostPairingScreen', 'host-pairing', function() { |
- /** |
- * We can't pass Polymer screen directly to login.createScreen, because it |
- * changes object's prototype chain. |
- */ |
- return { |
- polymerScreen_: null, |
- |
- decorate: function() { |
- polymerScreen_ = this.children[0]; |
- polymerScreen_.decorate(this); |
- }, |
- |
- onBeforeShow: function() { |
- polymerScreen_.onBeforeShow(); |
- } |
- }; |
-}); |
- |
Polymer('host-pairing-screen', (function() { |
'use strict'; |
@@ -41,4 +18,3 @@ Polymer('host-pairing-screen', (function() { |
} |
}; |
})()); |
- |