OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="stylesheet" href="/tracing/ui/extras/chrome/cc/picture_ops_list_view.
css"> | 8 <link rel="stylesheet" href="/tracing/ui/extras/chrome/cc/picture_ops_list_view.
css"> |
9 | 9 |
10 <link rel="import" href="/tracing/extras/chrome/cc/constants.html"> | 10 <link rel="import" href="/tracing/extras/chrome/cc/constants.html"> |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 var constants = tr.e.cc.constants; | 28 var constants = tr.e.cc.constants; |
29 | 29 |
30 /** | 30 /** |
31 * @constructor | 31 * @constructor |
32 */ | 32 */ |
33 var PictureOpsListView = | 33 var PictureOpsListView = |
34 tr.ui.b.define('tr-ui-e-chrome-cc-picture-ops-list-view'); | 34 tr.ui.b.define('tr-ui-e-chrome-cc-picture-ops-list-view'); |
35 | 35 |
36 PictureOpsListView.prototype = { | 36 PictureOpsListView.prototype = { |
37 __proto__: HTMLUnknownElement.prototype, | 37 __proto__: HTMLDivElement.prototype, |
38 | 38 |
39 decorate: function() { | 39 decorate: function() { |
40 this.opsList_ = new tr.ui.b.ListView(); | 40 this.opsList_ = new tr.ui.b.ListView(); |
41 Polymer.dom(this).appendChild(this.opsList_); | 41 Polymer.dom(this).appendChild(this.opsList_); |
42 | 42 |
43 this.selectedOp_ = undefined; | 43 this.selectedOp_ = undefined; |
44 this.selectedOpIndex_ = undefined; | 44 this.selectedOpIndex_ = undefined; |
45 this.opsList_.addEventListener( | 45 this.opsList_.addEventListener( |
46 'selection-changed', this.onSelectionChanged_.bind(this)); | 46 'selection-changed', this.onSelectionChanged_.bind(this)); |
47 | 47 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 return opsWithoutAnnotations; | 230 return opsWithoutAnnotations; |
231 } | 231 } |
232 }; | 232 }; |
233 | 233 |
234 return { | 234 return { |
235 PictureOpsListView: PictureOpsListView | 235 PictureOpsListView: PictureOpsListView |
236 }; | 236 }; |
237 }); | 237 }); |
238 </script> | 238 </script> |
OLD | NEW |