OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml"> |
3 <link rel="import" href="/icons.html"> | 3 <link rel="import" href="/icons.html"> |
4 <link rel="import" href="/settings_shared_css.html"> | 4 <link rel="import" href="/settings_shared_css.html"> |
5 <link rel="import" href="/site_settings/constants.html"> | 5 <link rel="import" href="/site_settings/constants.html"> |
6 <link rel="import" href="/site_settings/site_settings_behavior.html"> | 6 <link rel="import" href="/site_settings/site_settings_behavior.html"> |
7 <link rel="import" href="/site_settings/site_settings_prefs_browser_proxy.html"> | 7 <link rel="import" href="/site_settings/site_settings_prefs_browser_proxy.html"> |
8 | 8 |
9 <dom-module id="settings-site-settings-page"> | 9 <dom-module id="settings-site-settings-page"> |
10 <template> | 10 <template> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
67 category$="[[ContentSettingsTypes.JAVASCRIPT]]" | 67 category$="[[ContentSettingsTypes.JAVASCRIPT]]" |
68 on-tap="onTapCategory"> | 68 on-tap="onTapCategory"> |
69 <iron-icon icon="[[computeIconForContentCategory( | 69 <iron-icon icon="[[computeIconForContentCategory( |
70 ContentSettingsTypes.JAVASCRIPT)]]" item-icon=""></iron-icon> | 70 ContentSettingsTypes.JAVASCRIPT)]]" item-icon=""></iron-icon> |
71 <div class="middle"> | 71 <div class="middle"> |
72 [[computeTitleForContentCategory(ContentSettingsTypes.JAVASCRIPT)]] | 72 [[computeTitleForContentCategory(ContentSettingsTypes.JAVASCRIPT)]] |
73 <div id="javascript" class="secondary"></div> | 73 <div id="javascript" class="secondary"></div> |
74 </div> | 74 </div> |
75 </div> | 75 </div> |
76 <div class="settings-box two-line" | 76 <div class="settings-box two-line" |
77 category$="[[ContentSettingsTypes.PLUGINS]]" | |
78 on-tap="onTapCategory"> | |
79 <iron-icon icon="[[computeIconForContentCategory( | |
80 ContentSettingsTypes.PLUGINS)]]" item-icon=""></iron-icon> | |
81 <div class="middle"> | |
82 [[computeTitleForContentCategory(ContentSettingsTypes.PLUGINS)]] | |
83 <div id="plugins" class="secondary"></div> | |
84 </div> | |
85 </div> | |
86 <div class="settings-box two-line" | |
77 category$="[[ContentSettingsTypes.IMAGES]]" on-tap="onTapCategory"> | 87 category$="[[ContentSettingsTypes.IMAGES]]" on-tap="onTapCategory"> |
78 <iron-icon icon="[[computeIconForContentCategory( | 88 <iron-icon icon="[[computeIconForContentCategory( |
79 ContentSettingsTypes.IMAGES)]]" item-icon=""></iron-icon> | 89 ContentSettingsTypes.IMAGES)]]" item-icon=""></iron-icon> |
80 <div class="middle"> | 90 <div class="middle"> |
81 [[computeTitleForContentCategory(ContentSettingsTypes.IMAGES)]] | 91 [[computeTitleForContentCategory(ContentSettingsTypes.IMAGES)]] |
82 <div id="images" class="secondary"></div> | 92 <div id="images" class="secondary"></div> |
83 </div> | 93 </div> |
84 </div> | 94 </div> |
85 <div class="settings-box two-line" | 95 <div class="settings-box two-line" |
86 category$="[[ContentSettingsTypes.POPUPS]]" on-tap="onTapCategory"> | 96 category$="[[ContentSettingsTypes.POPUPS]]" on-tap="onTapCategory"> |
87 <iron-icon icon="[[computeIconForContentCategory( | 97 <iron-icon icon="[[computeIconForContentCategory( |
88 ContentSettingsTypes.POPUPS)]]" item-icon=""></iron-icon> | 98 ContentSettingsTypes.POPUPS)]]" item-icon=""></iron-icon> |
89 <div class="middle"> | 99 <div class="middle"> |
90 [[computeTitleForContentCategory(ContentSettingsTypes.POPUPS)]] | 100 [[computeTitleForContentCategory(ContentSettingsTypes.POPUPS)]] |
91 <div id="popups" class="secondary"></div> | 101 <div id="popups" class="secondary"></div> |
92 </div> | 102 </div> |
93 </div> | 103 </div> |
104 <div class="settings-box two-line" | |
105 category$="[[ContentSettingsTypes.BACKGROUND_SYNC]]" | |
106 on-tap="onTapCategory"> | |
107 <iron-icon icon="[[computeIconForContentCategory( | |
108 ContentSettingsTypes.BACKGROUND_SYNC)]]" item-icon=""></iron-icon> | |
109 <div class="middle"> | |
110 [[computeTitleForContentCategory( | |
111 ContentSettingsTypes.BACKGROUND_SYNC)]] | |
michaelpg
2016/06/02 12:58:30
+2 indent
Finnur
2016/06/02 17:31:36
I'm confused... For HTML we use a 2 space indent a
michaelpg
2016/06/03 13:37:14
We have a new style guideline of wrapping computed
| |
112 <div id="backgroundSync" class="secondary"></div> | |
113 </div> | |
114 </div> | |
115 <div class="settings-box two-line" | |
116 category$="[[ContentSettingsTypes.KEYGEN]]" | |
117 on-tap="onTapCategory"> | |
118 <iron-icon icon="[[computeIconForContentCategory( | |
119 ContentSettingsTypes.KEYGEN)]]" item-icon=""></iron-icon> | |
120 <div class="middle"> | |
121 [[computeTitleForContentCategory( | |
122 ContentSettingsTypes.KEYGEN)]] | |
michaelpg
2016/06/02 12:58:30
+2 indent
| |
123 <div id="keygen" class="secondary"></div> | |
124 </div> | |
125 </div> | |
126 <div class="settings-box two-line" | |
127 category$="[[ContentSettingsTypes.AUTOMATIC_DOWNLOADS]]" | |
128 on-tap="onTapCategory"> | |
129 <iron-icon icon="[[computeIconForContentCategory( | |
130 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]]" item-icon=""></iron-icon> | |
131 <div class="middle"> | |
132 [[computeTitleForContentCategory( | |
133 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]] | |
michaelpg
2016/06/02 12:58:31
+2 indent
| |
134 <div id="automaticDownloads" class="secondary"></div> | |
135 </div> | |
136 </div> | |
137 <div class="settings-box two-line" | |
138 category$="[[ContentSettingsTypes.UNSANDBOXED_PLUGINS]]" | |
139 on-tap="onTapCategory"> | |
140 <iron-icon icon="[[computeIconForContentCategory( | |
141 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]]" item-icon=""></iron-icon> | |
142 <div class="middle"> | |
143 [[computeTitleForContentCategory( | |
144 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]] | |
michaelpg
2016/06/02 12:58:30
+2 indent
| |
145 <div id="unsandboxedPlugins" class="secondary"></div> | |
146 </div> | |
147 </div> | |
94 </template> | 148 </template> |
95 <script src="site_settings_page.js"></script> | 149 <script src="site_settings_page.js"></script> |
96 </dom-module> | 150 </dom-module> |
OLD | NEW |