Chromium Code Reviews| Index: chrome/browser/resources/chromeos/login/oobe_wait_for_container_ready.js |
| diff --git a/chrome/browser/resources/chromeos/login/oobe_wait_for_container_ready.js b/chrome/browser/resources/chromeos/login/oobe_wait_for_container_ready.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c9dfaf6b8d49fd0d57d842fb8c88213c2e7172dd |
| --- /dev/null |
| +++ b/chrome/browser/resources/chromeos/login/oobe_wait_for_container_ready.js |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2017 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. |
| + |
| +/** |
| + * @fileoverview Polymer element for displaying material design wait for |
| + * container ready screen. |
| + */ |
| + |
| +Polymer({ |
| + is: 'wait-for-container-ready-md', |
| + |
| + /** |
| + * Returns element by its id. |
| + */ |
| + getElement: function(id) { |
|
xiyuan
2017/06/19 16:36:02
We should try to avoid this kind of method on a po
yueli
2017/06/19 18:49:18
Done.
|
| + return this.$[id]; |
| + } |
| +}); |