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 <link rel="import" href="/tracing/base/base.html"> | 7 <link rel="import" href="/tracing/base/base.html"> |
8 <link rel="import" href="/tracing/ui/base/mouse_mode_icon.html"> | 8 <link rel="import" href="/tracing/ui/base/mouse_mode_icon.html"> |
9 <link rel="import" href="/tracing/ui/base/overlay.html"> | 9 <link rel="import" href="/tracing/ui/base/overlay.html"> |
10 | 10 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 </template> | 223 </template> |
224 </dom-module> | 224 </dom-module> |
225 <script> | 225 <script> |
226 'use strict'; | 226 'use strict'; |
227 | 227 |
228 Polymer({ | 228 Polymer({ |
229 is: 'tr-ui-timeline-view-help-overlay', | 229 is: 'tr-ui-timeline-view-help-overlay', |
230 | 230 |
231 ready: function() { | 231 ready: function() { |
232 var mod = tr.isMac ? 'cmd ' : 'ctrl'; | 232 var mod = tr.isMac ? 'cmd ' : 'ctrl'; |
233 var spans = this.shadowRoot.querySelectorAll('span.mod'); | 233 var spans = this.root.querySelectorAll('span.mod'); |
234 for (var i = 0; i < spans.length; i++) { | 234 for (var i = 0; i < spans.length; i++) { |
235 spans[i].textContent = mod; | 235 spans[i].textContent = mod; |
236 } | 236 } |
237 } | 237 } |
238 }); | 238 }); |
239 </script> | 239 </script> |
OLD | NEW |