[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / components / proximity_auth / webui / resources / content-panel.js
blob2e4b53db64171569e07b485958c08e50b3c0b489
1 // Copyright 2015 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.
5 Polymer('content-panel', {
6 /**
7 * List of devices that are online and reachable by CryptAuth.
8 * @type {Array<DeviceInfo>}
9 * @private
11 onlineDevices_: [
13 publicKey: 'CAESRgohAN4IwMl-bTemMQ0E-YV36s86TG0suEj422xKvNoIslyvEiE' +
14 'Ab8m8J4dB44v2l8l-38-9vLwzf9GsPth4BsquCpAbNRk=',
15 friendlyDeviceName: 'Sony Xperia Z3',
18 publicKey: 'CAESRgohAN5ljWzNNYWbuQNoQdE0NhZaCg9CmCVd-XuwR__41G_5EiE' +
19 'A3ATFvesN_6Tr-wSM5fHL5v5Bn1mX4d-m4OXJ3beRYhk=',
20 friendlyDeviceName: 'Samsung Galaxy S5',
23 publicKey: 'CAESRgohAN9QYU5HySO14Gi9PDIClacBnC0C8wqPwXsNHUNG_vXlEiE' +
24 'AggzU80ZOd9DWuCBdp6bzpGcC-oj1yrwdVCHGg_yeaAQ=',
25 friendlyDeviceName: 'LGE Nexus 5',
28 publicKey: 'CAESRgohAOGtyjLiPnkQwi-bAvp75hUrBkfRlx2pBw7_C0VojjIFEiE' +
29 'ARMN6miPfDOtlAFOiV7fulvhoDqguq-sTjUCZ2Et0mYQ=',
30 friendlyDeviceName: 'LGE Nexus 4',
31 unlockKey: true,
32 connectionStatus: 'disconnected',
35 publicKey: 'CAESRgohAOKowGAhRs6FryK5KZqlHoAinNCon0T1tpeyIGPzKKmlEiE' +
36 'ARH5joqbVWtLGjuh7aO7nLEhkFxv0u2C3kyoWysq6U_4=',
37 friendlyDeviceName: 'Samsung GT-N8010',
40 publicKey: 'CAESRgohAOPegrIJNl9HeFeykbCswXciAXOpJZdme6Nh2WcMMiyZEiE' +
41 'A8X7fTDRh61X-iDE1bYASMPiCbk7bPy7n0N0MiBeJNuo=',
42 friendlyDeviceName: 'Sony D5503',
45 publicKey: 'CAESRgohAOZly-M7bBQokc3CJ9Wio37bzpUYaD-p9On3e6H4n2kKEiE' +
46 'ANhkioq9y_19lN8Wnoc8XBLOilyyT6kn6iM00DEIOhFk=',
47 friendlyDeviceName: 'LGE LG-D855',
50 publicKey: 'CAESRgohAOZ6JXDntf-h7MmRgrJc9RuW0mIgDluYEBcs8zx_uESeEiE' +
51 'AeQk_My_0AFM9jb0eOSZupZ2s_n-6Vqs-_XaOnbAGSeU=',
52 friendlyDeviceName: 'Motorola Nexus 6',
56 /**
57 * The selected page that is currently shown.
58 * @type {number}
59 * @private
61 selected_: 0,
63 /**
64 * Called when the current page is about to transition.
65 * @private
67 preparePageTransition_: function() {
68 var page = this.$.pages.selectedItem.querySelector(':first-child');
69 if (page.activate)
70 page.activate();
72 });