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

Side by Side Diff: chrome/browser/resources/settings/site_settings/site_list.html

Issue 2791053002: MD Settings: Restore focus after closing dialogs, for content settings. (Closed)
Patch Set: Nit. Created 3 years, 8 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 <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/cr_action_menu/cr_action _menu.html"> 2 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action _menu.html">
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/cr_elements/policy/cr_policy_pref_in dicator.html"> 4 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
8 <link rel="import" href="../i18n_setup.html"> 8 <link rel="import" href="../i18n_setup.html">
9 <link rel="import" href="../icons.html"> 9 <link rel="import" href="../icons.html">
10 <link rel="import" href="../route.html"> 10 <link rel="import" href="../route.html">
(...skipping 12 matching lines...) Expand all
23 right: 8px; 23 right: 8px;
24 } 24 }
25 25
26 .selectable { 26 .selectable {
27 -webkit-user-select: text; 27 -webkit-user-select: text;
28 } 28 }
29 </style> 29 </style>
30 <div id="category"> 30 <div id="category">
31 <div class="settings-box first" hidden$="[[allSites]]"> 31 <div class="settings-box first" hidden$="[[allSites]]">
32 <h2 class="start">[[categoryHeader]]</h2> 32 <h2 class="start">[[categoryHeader]]</h2>
33 <paper-button class="secondary-button header-aligned-button" id="icon" 33 <paper-button id="addSite"
34 class="secondary-button header-aligned-button"
34 hidden="[[readOnlyList]]" on-tap="onAddSiteTap_"> 35 hidden="[[readOnlyList]]" on-tap="onAddSiteTap_">
35 $i18n{add} 36 $i18n{add}
36 </paper-button> 37 </paper-button>
37 </div> 38 </div>
38 39
39 <dialog is="cr-action-menu"> 40 <dialog is="cr-action-menu">
40 <button class="dropdown-item" role="option" id="allow" 41 <button class="dropdown-item" role="option" id="allow"
41 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]"> 42 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]">
42 $i18n{siteSettingsActionAllow} 43 $i18n{siteSettingsActionAllow}
43 </button> 44 </button>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 </div> 105 </div>
105 </div> 106 </div>
106 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> 107 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp>
107 <settings-edit-exception-dialog model="[[actionMenuSite_]]" 108 <settings-edit-exception-dialog model="[[actionMenuSite_]]"
108 on-close="onEditExceptionDialogClosed_"> 109 on-close="onEditExceptionDialogClosed_">
109 </settings-edit-exception-dialog> 110 </settings-edit-exception-dialog>
110 </template> 111 </template>
111 </template> 112 </template>
112 <script src="site_list.js"></script> 113 <script src="site_list.js"></script>
113 </dom-module> 114 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698