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

Side by Side Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2947753003: [MD Bookmarks] Fix offscreen menu button activation. (Closed)
Patch Set: Created 3 years, 6 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 2
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.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-styles/shadow.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
6 <link rel="import" href="chrome://bookmarks/command_manager.html"> 6 <link rel="import" href="chrome://bookmarks/command_manager.html">
7 <link rel="import" href="chrome://bookmarks/item.html"> 7 <link rel="import" href="chrome://bookmarks/item.html">
8 <link rel="import" href="chrome://bookmarks/shared_style.html"> 8 <link rel="import" href="chrome://bookmarks/shared_style.html">
9 <link rel="import" href="chrome://bookmarks/store_client.html"> 9 <link rel="import" href="chrome://bookmarks/store_client.html">
10 <link rel="import" href="chrome://bookmarks/util.html"> 10 <link rel="import" href="chrome://bookmarks/util.html">
(...skipping 19 matching lines...) Expand all
30 align-items: center; 30 align-items: center;
31 color: #6e6e6e; 31 color: #6e6e6e;
32 display: flex; 32 display: flex;
33 font-size: 14px; 33 font-size: 14px;
34 font-weight: 500; 34 font-weight: 500;
35 height: 100%; 35 height: 100%;
36 justify-content: center; 36 justify-content: center;
37 } 37 }
38 </style> 38 </style>
39 <iron-list items="[[displayedList_]]" id="bookmarksCard" 39 <iron-list items="[[displayedList_]]" id="bookmarksCard"
40 hidden$="[[isEmptyList_(displayedList_.length)]]"> 40 hidden$="[[isEmptyList_(displayedList_.length)]]">
tsergeant 2017/06/21 02:46:18 I think we can do this without adding new listener
41 <template> 41 <template>
42 <bookmarks-item item-id="[[item.id]]" draggable="true" 42 <bookmarks-item item-id="[[item.id]]" draggable="true"
43 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"> 43 tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"
44 index="[[index]]" on-open-item-menu="onOpenItemMenu_">
44 </bookmarks-item> 45 </bookmarks-item>
45 </template> 46 </template>
46 </iron-list> 47 </iron-list>
47 <div id="message" class="centered-message" 48 <div id="message" class="centered-message"
48 hidden$="[[!isEmptyList_(displayedList_.length)]]"> 49 hidden$="[[!isEmptyList_(displayedList_.length)]]">
49 [[emptyListMessage_(searchTerm_)]] 50 [[emptyListMessage_(searchTerm_)]]
50 </div> 51 </div>
51 </template> 52 </template>
52 <script src="chrome://bookmarks/list.js"></script> 53 <script src="chrome://bookmarks/list.js"></script>
53 </dom-module> 54 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/item.js ('k') | chrome/browser/resources/md_bookmarks/list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698