OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
4 <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-icon-button/paper
-icon-button-light.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
6 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
8 <link rel="import" href="../i18n_setup.html"> | 8 <link rel="import" href="../i18n_setup.html"> |
9 <link rel="import" href="../settings_shared_css.html"> | 9 <link rel="import" href="../settings_shared_css.html"> |
10 <link rel="import" href="site_settings_behavior.html"> | 10 <link rel="import" href="site_settings_behavior.html"> |
11 <link rel="import" href="site_settings_prefs_browser_proxy.html"> | 11 <link rel="import" href="site_settings_prefs_browser_proxy.html"> |
12 | 12 |
13 <dom-module id="protocol-handlers"> | 13 <dom-module id="protocol-handlers"> |
14 <template> | 14 <template> |
(...skipping 27 matching lines...) Expand all Loading... |
42 <div class="favicon-image" style$="[[computeSiteIcon(item.host)]]"> | 42 <div class="favicon-image" style$="[[computeSiteIcon(item.host)]]"> |
43 </div> | 43 </div> |
44 <div class="middle" > | 44 <div class="middle" > |
45 <div class="protocol-host">[[item.host]]</div> | 45 <div class="protocol-host">[[item.host]]</div> |
46 <div class="secondary protocol-default" | 46 <div class="secondary protocol-default" |
47 hidden$="[[!isDefault_(index, protocol.default_handler)]]"> | 47 hidden$="[[!isDefault_(index, protocol.default_handler)]]"> |
48 $i18n{handlerIsDefault} | 48 $i18n{handlerIsDefault} |
49 </div> | 49 </div> |
50 </div> | 50 </div> |
51 | 51 |
52 <paper-icon-button icon="cr:more-vert" on-tap="showMenu_" | 52 <button is="paper-icon-button-light" on-tap="showMenu_" |
53 class="dropdown-trigger" title="$i18n{moreActions}"> | 53 class="icon-more-vert" title="$i18n{moreActions}"> |
54 </paper-icon-button> | 54 </button> |
55 </div> | 55 </div> |
56 | 56 |
57 </template> | 57 </template> |
58 </div> | 58 </div> |
59 </template> | 59 </template> |
60 | 60 |
61 <dialog is="cr-action-menu"> | 61 <dialog is="cr-action-menu"> |
62 <button class="dropdown-item" role="option" on-tap="onDefaultTap_" | 62 <button class="dropdown-item" role="option" on-tap="onDefaultTap_" |
63 hidden$="[[isModelDefault_(actionMenuModel_)]]" | 63 hidden$="[[isModelDefault_(actionMenuModel_)]]" |
64 id="defaultButton"> | 64 id="defaultButton"> |
65 $i18n{handlerSetDefault} | 65 $i18n{handlerSetDefault} |
66 </button> | 66 </button> |
67 <button class="dropdown-item" role="option" on-tap="onRemoveTap_" | 67 <button class="dropdown-item" role="option" on-tap="onRemoveTap_" |
68 id="removeButton"> | 68 id="removeButton"> |
69 $i18n{handlerRemove} | 69 $i18n{handlerRemove} |
70 </button> | 70 </button> |
71 </dialog> | 71 </dialog> |
72 </template> | 72 </template> |
73 <script src="protocol_handlers.js"></script> | 73 <script src="protocol_handlers.js"></script> |
74 </dom-module> | 74 </dom-module> |
OLD | NEW |