| 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/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 7 <link rel="import" href="../i18n_setup.html"> | 7 <link rel="import" href="../i18n_setup.html"> |
| 8 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
| 9 <link rel="import" href="site_settings_behavior.html"> | 9 <link rel="import" href="site_settings_behavior.html"> |
| 10 <link rel="import" href="site_settings_prefs_browser_proxy.html"> | 10 <link rel="import" href="site_settings_prefs_browser_proxy.html"> |
| 11 | 11 |
| 12 <dom-module id="protocol-handlers"> | 12 <dom-module id="protocol-handlers"> |
| 13 <template> | 13 <template> |
| 14 <style include="settings-shared"> | 14 <style include="settings-shared"> |
| 15 :host { | 15 :host { |
| 16 display: block; | 16 display: block; |
| 17 } | 17 } |
| 18 | 18 |
| 19 .site-settings-header { | 19 .site-settings-header { |
| 20 -webkit-margin-start: 20px; | 20 -webkit-margin-start: 20px; |
| 21 margin-bottom: 15px; | 21 margin-bottom: 15px; |
| 22 margin-top: 15px; | 22 margin-top: 15px; |
| 23 } | 23 } |
| 24 </style> | 24 </style> |
| 25 <div class="settings-box first two-line"> | 25 <div class="settings-box first two-line"> |
| 26 <div id="categoryLabel" class="start secondary"> | 26 <div id="categoryLabel" class="start"> |
| 27 [[computeHandlersDescription_(categoryEnabled)]] | 27 [[computeHandlersDescription_(categoryEnabled)]] |
| 28 </div> | 28 </div> |
| 29 <paper-toggle-button id="toggle" checked="{{categoryEnabled}}" | 29 <paper-toggle-button id="toggle" checked="{{categoryEnabled}}" |
| 30 on-change="onToggleChange_" aria-labelledby="categoryLabel"> | 30 on-change="onToggleChange_" aria-labelledby="categoryLabel"> |
| 31 </paper-toggle-button> | 31 </paper-toggle-button> |
| 32 </div> | 32 </div> |
| 33 | 33 |
| 34 <template is="dom-repeat" items="[[protocols]]" as="protocol"> | 34 <template is="dom-repeat" items="[[protocols]]" as="protocol"> |
| 35 <div class="site-settings-header">[[protocol.protocol]]</div> | 35 <div class="site-settings-header">[[protocol.protocol]]</div> |
| 36 | 36 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 64 $i18n{handlerSetDefault} | 64 $i18n{handlerSetDefault} |
| 65 </button> | 65 </button> |
| 66 <button class="dropdown-item" role="option" on-tap="onRemoveTap_" | 66 <button class="dropdown-item" role="option" on-tap="onRemoveTap_" |
| 67 id="removeButton"> | 67 id="removeButton"> |
| 68 $i18n{handlerRemove} | 68 $i18n{handlerRemove} |
| 69 </button> | 69 </button> |
| 70 </dialog> | 70 </dialog> |
| 71 </template> | 71 </template> |
| 72 <script src="protocol_handlers.js"></script> | 72 <script src="protocol_handlers.js"></script> |
| 73 </dom-module> | 73 </dom-module> |
| OLD | NEW |