Chromium Code Reviews| Index: chrome/browser/resources/md_history/side_bar.js |
| diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..57323af2ebfbd08e9161d0d53b46232b4c86dd86 |
| --- /dev/null |
| +++ b/chrome/browser/resources/md_history/side_bar.js |
| @@ -0,0 +1,13 @@ |
| +// 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. |
| + |
| +Polymer({ |
| + is: 'history-side-bar', |
| + |
| + onSelect: function(e, details) { |
| + console.log(details.item.id); |
|
tsergeant
2016/03/09 04:36:50
Remove this log
calamity
2016/03/10 04:18:24
Oopz.
|
| + this.fire('switch-display', { display: details.item.id }); |
| + }, |
| + |
| +}); |