Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: chrome/browser/resources/chromeos/login/host-pairing-screen.js

Issue 819633002: Rearanged imports of custom Polymer elements in OOBE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
}
};
})());
-
« no previous file with comments | « chrome/browser/resources/chromeos/login/host-pairing-screen.html ('k') | chrome/browser/resources/chromeos/login/oobe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698