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

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

Issue 1867363003: Better support for patterns. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 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/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/communicatio n-icons.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/communicatio n-icons.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item-b ody.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item-b ody.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen u.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen u.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button.html">
(...skipping 17 matching lines...) Expand all
28 </div> 28 </div>
29 </paper-item> 29 </paper-item>
30 30
31 <paper-menu class="menu-content" id="listContainer"> 31 <paper-menu class="menu-content" id="listContainer">
32 <template is="dom-repeat" items="[[sites]]"> 32 <template is="dom-repeat" items="[[sites]]">
33 <div class="site-list horizontal layout center"> 33 <div class="site-list horizontal layout center">
34 <paper-item class="flex"> 34 <paper-item class="flex">
35 <iron-icon icon="[[computeSiteIcon_(item)]]" item-icon> 35 <iron-icon icon="[[computeSiteIcon_(item)]]" item-icon>
36 </iron-icon> 36 </iron-icon>
37 <paper-item-body two-line on-tap="onOriginTap_" class="origin"> 37 <paper-item-body two-line on-tap="onOriginTap_" class="origin">
38 <div>[[item.origin]]</div> 38 <div>[[item.originForDisplay]]</div>
39 <div secondary>[[item.embeddingOriginForDisplay]]</div> 39 <div secondary>[[item.embeddingOriginForDisplay]]</div>
40 </paper-item-body> 40 </paper-item-body>
41 41
42 <paper-menu-button hidden$="[[allSites]]"> 42 <paper-menu-button hidden$="[[allSites]]">
43 <paper-icon-button icon="menu" 43 <paper-icon-button icon="menu"
44 class="dropdown-trigger"></paper-icon-button> 44 class="dropdown-trigger"></paper-icon-button>
45 <paper-menu id="actionMenu" class="dropdown-content" 45 <paper-menu id="actionMenu" class="dropdown-content"
46 on-iron-activate="onActionMenuIronActivate_"> 46 on-iron-activate="onActionMenuIronActivate_">
47 <paper-item value="[[actions_.ALLOW]]" 47 <paper-item value="[[actions_.ALLOW]]"
48 hidden="[[!showAllowAction_]]" 48 hidden="[[!showAllowAction_]]"
49 >[[i18n_.allowAction]]</paper-item> 49 >[[i18n_.allowAction]]</paper-item>
50 <paper-item value="[[actions_.BLOCK]]" 50 <paper-item value="[[actions_.BLOCK]]"
51 hidden="[[!showBlockAction_]]" 51 hidden="[[!showBlockAction_]]"
52 >[[i18n_.blockAction]]</paper-item> 52 >[[i18n_.blockAction]]</paper-item>
53 <paper-item value="[[actions_.RESET]]" 53 <paper-item value="[[actions_.RESET]]"
54 >[[i18n_.resetAction]]</paper-item> 54 >[[i18n_.resetAction]]</paper-item>
55 </paper-menu> 55 </paper-menu>
56 </paper-menu-button> 56 </paper-menu-button>
57 </paper-item> 57 </paper-item>
58 </div> 58 </div>
59 </template> 59 </template>
60 60
61 </paper-menu> 61 </paper-menu>
62 </paper-submenu> 62 </paper-submenu>
63 </template> 63 </template>
64 <script src="site_list.js"></script> 64 <script src="site_list.js"></script>
65 </dom-module> 65 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698