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

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

Issue 2742583003: MD Bookmarks: Extract bookmark editing into a <bookmark-edit-dialog> element (Closed)
Patch Set: Rename event handlers Created 3 years, 9 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
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
7
8 <dom-module id="bookmarks-edit-dialog">
9 <template>
10 <style include="cr-shared-style"></style>
11 <dialog is="cr-dialog" id="dialog">
12 <div class="title">[[getDialogTitle_(isFolder_)]]</div>
13 <div class="body">
14 <paper-input always-float-label id="name"
15 label="$i18n{editDialogNameInput}"
16 value="{{titleValue_}}"
17 autofocus>
18 </paper-input>
19 <paper-input always-float-label id="url"
20 label="$i18n{editDialogUrlInput}"
21 value="{{urlValue_}}"
22 hidden$="[[isFolder_]]">
23 </paper-input>
24 </div>
25 <div class="button-container">
26 <paper-button class="cancel-button" on-tap="onCancelButtonTap_">
27 $i18n{cancelEdit}
28 </paper-button>
29 <paper-button id="saveButton" class="action-button"
30 on-tap="onSaveButtonTap_">
31 $i18n{saveEdit}
32 </paper-button>
33 </div>
34 </dialog>
35 </template>
36 <script src="chrome://bookmarks/edit_dialog.js"></script>
37 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/compiled_resources2.gyp ('k') | chrome/browser/resources/md_bookmarks/edit_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698