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

Unified Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2666033002: [MD Bookmarks] Add edit folder. (Closed)
Patch Set: Add menu for folder items. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_bookmarks/list.html
diff --git a/chrome/browser/resources/md_bookmarks/list.html b/chrome/browser/resources/md_bookmarks/list.html
index ca9437981bbf336b71b11e43631f9762abd6f80a..80f415313f140587f0e36f8b88ebc12acb1c0653 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -37,9 +37,10 @@
</style>
<dialog is="cr-action-menu" id="dropdown">
<button class="dropdown-item" on-tap="onEditTap_">
- $i18n{menuEdit}
+ [[getMenuActionLabel_(menuItem_)]]
</button>
- <button class="dropdown-item" on-tap="onCopyURLTap_">
+ <button class="dropdown-item" on-tap="onCopyURLTap_"
+ hidden$="[[hideUrlInput_]]">
$i18n{menuCopyURL}
</button>
<button class="dropdown-item" on-tap="onDeleteTap_">
@@ -47,7 +48,7 @@
</button>
</dialog>
<dialog is="cr-dialog" id="editBookmark">
- <div class="title">$i18n{editBookmarkTitle}</div>
+ <div class="title">[[getEditorTitle_(hideUrlInput_)]]</div>
<div class="body">
<paper-input always-float-label id="name"
label="$i18n{editDialogNameInput}"
@@ -55,7 +56,8 @@
</paper-input>
<paper-input always-float-label id="url"
label="$i18n{editDialogUrlInput}"
- value="{{menuItem_.url}}">
+ value="{{menuItem_.url}}"
+ hidden$="[[hideUrlInput_]]">
</paper-input>
</div>
<div class="button-container">

Powered by Google App Engine
This is Rietveld 408576698