Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tracing/tracing/ui/timeline_view_help_overlay.html

Issue 1914243003: Replace instances of shadowRoot with root. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tracing/tracing/ui/timeline_view.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/timeline_view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698