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

Side by Side Diff: tracing/tracing/ui/base/mouse_mode_icon.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase Created 3 years, 4 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
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/iteration_helpers.html"> 7 <link rel="import" href="/tracing/base/utils.html">
8 <link rel="import" href="/tracing/ui/base/mouse_modes.html"> 8 <link rel="import" href="/tracing/ui/base/mouse_modes.html">
9 9
10 <dom-module id='tr-ui-b-mouse-mode-icon'> 10 <dom-module id='tr-ui-b-mouse-mode-icon'>
11 <template> 11 <template>
12 <style> 12 <style>
13 :host { 13 :host {
14 display: block; 14 display: block;
15 background-image: url(../images/ui-states.png); 15 background-image: url(../images/ui-states.png);
16 width: 27px; 16 width: 27px;
17 height: 30px; 17 height: 30px;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 let bp; 106 let bp;
107 if (this.active_) { 107 if (this.active_) {
108 bp = modeInfo.activeBackgroundPosition; 108 bp = modeInfo.activeBackgroundPosition;
109 } else { 109 } else {
110 bp = modeInfo.defaultBackgroundPosition; 110 bp = modeInfo.defaultBackgroundPosition;
111 } 111 }
112 this.style.backgroundPosition = bp; 112 this.style.backgroundPosition = bp;
113 } 113 }
114 }); 114 });
115 </script> 115 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/base/grouping_table_groupby_picker.html ('k') | tracing/tracing/ui/base/mouse_mode_selector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698