| Index: chrome/browser/resources/chromeos/emulator/device_emulator_pages.js
|
| diff --git a/chrome/browser/resources/chromeos/emulator/device_emulator_pages.js b/chrome/browser/resources/chromeos/emulator/device_emulator_pages.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e575ceb7c6c16aabd3d08fd663b0ad45376337bb
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/emulator/device_emulator_pages.js
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 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.
|
| +
|
| +cr.exportPath('device_emulator', {
|
| + audioSettings: null,
|
| + batterySettings: null,
|
| + bluetoothSettings: null,
|
| +});
|
| +
|
| +Polymer({
|
| + is: 'device-emulator-pages',
|
| +
|
| + properties: {
|
| + selectedPage: {
|
| + type: Number,
|
| + value: 0,
|
| + },
|
| + },
|
| +
|
| + ready: function() {
|
| + for (var page of Polymer.dom(this.$$('neon-animated-pages')).children) {
|
| + page.initialize();
|
| + device_emulator[page.id] = page;
|
| + }
|
| +
|
| + chrome.send('initializeDeviceEmulator');
|
| + },
|
| +});
|
|
|