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

Issue 917893004: Add a <cr-dropdown-menu> custom element to cr_elements. (Closed)

Created:
5 years, 10 months ago by Jeremy Klein
Modified:
5 years, 10 months ago
CC:
chromium-reviews, khorimoto+watch-md-settings_chromium.org, michaelpg+watch-polymer_chromium.org, michaelpg+watch-md-settings_chromium.org, jhawkins+watch-md-settings_chromium.org, orenb+watch-md-settings_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dcheng, stevenjb+watch-md-settings_chromium.org, jlklein+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@paperdropdown
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a <cr-dropdown-menu> custom element to cr_elements. BUG= Committed: https://crrev.com/c7d1f48530806e896c976fdbd0b878915f54bc72 Cr-Commit-Position: refs/heads/master@{#317473}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address stevenjb's first comments. #

Patch Set 3 : fix underscores in the demo file #

Total comments: 2

Patch Set 4 : Add menu class to core-menu in demo and md-settings #

Patch Set 5 : Add an assert for a missing menu class #

Total comments: 6

Patch Set 6 : Fix the last couple style things. #

Patch Set 7 : @override domReady #

Patch Set 8 : Add a valid license header to the css #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -2 lines) Patch
M chrome/browser/resources/md_settings/md_settings.html View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
A + ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.css View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.html View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/cr_dropdown_menu/demo.html View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ui/webui/resources/polymer_resources.grdp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Jeremy Klein
https://codereview.chromium.org/917893004/diff/1/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js File ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js (right): https://codereview.chromium.org/917893004/diff/1/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js#newcode43 ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js:43: label: 'Select an item', Anyone have thoughts on i18n ...
5 years, 10 months ago (2015-02-11 23:44:58 UTC) #2
stevenjb
https://codereview.chromium.org/917893004/diff/1/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js File ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js (right): https://codereview.chromium.org/917893004/diff/1/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js#newcode43 ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.js:43: label: 'Select an item', On 2015/02/11 23:44:58, Jeremy Klein ...
5 years, 10 months ago (2015-02-12 18:44:52 UTC) #4
stevenjb
https://codereview.chromium.org/917893004/diff/1/chrome/browser/resources/md_settings/md_settings.html File chrome/browser/resources/md_settings/md_settings.html (right): https://codereview.chromium.org/917893004/diff/1/chrome/browser/resources/md_settings/md_settings.html#newcode25 chrome/browser/resources/md_settings/md_settings.html:25: <paper-item>Chrome</paper-item> Will we need cr-item to handle localization, or ...
5 years, 10 months ago (2015-02-12 18:47:34 UTC) #5
Jeremy Klein
https://codereview.chromium.org/917893004/diff/1/chrome/browser/resources/md_settings/md_settings.html File chrome/browser/resources/md_settings/md_settings.html (right): https://codereview.chromium.org/917893004/diff/1/chrome/browser/resources/md_settings/md_settings.html#newcode25 chrome/browser/resources/md_settings/md_settings.html:25: <paper-item>Chrome</paper-item> On 2015/02/12 18:47:34, stevenjb wrote: > Will we ...
5 years, 10 months ago (2015-02-12 20:32:39 UTC) #6
michaelpg
I'm seeing cr-dropdown-menu act differently than paper-dropdown-menu. http://i.imgur.com/BdCVQr5.png The core-items become visible before the dropdown ...
5 years, 10 months ago (2015-02-19 00:04:45 UTC) #7
michaelpg
On 2015/02/19 00:04:45, michaelpg wrote: > I'm seeing cr-dropdown-menu act differently than paper-dropdown-menu. > Looks ...
5 years, 10 months ago (2015-02-19 22:01:19 UTC) #8
Jeremy Klein
On 2015/02/19 22:01:19, michaelpg wrote: > On 2015/02/19 00:04:45, michaelpg wrote: > > I'm seeing ...
5 years, 10 months ago (2015-02-19 23:44:57 UTC) #9
Jeremy Klein
https://codereview.chromium.org/917893004/diff/40001/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.html File ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.html (right): https://codereview.chromium.org/917893004/diff/40001/ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.html#newcode8 ui/webui/resources/cr_elements/cr_dropdown_menu/cr_dropdown_menu.html:8: <paper-dropdown-menu flex label="{{label}}" opened="{{opened}}"> On 2015/02/19 00:04:45, michaelpg wrote: ...
5 years, 10 months ago (2015-02-19 23:45:04 UTC) #10
Jeremy Klein
Friendly ping.
5 years, 10 months ago (2015-02-20 22:45:48 UTC) #11
michaelpg
lgtm https://codereview.chromium.org/917893004/diff/80001/chrome/browser/resources/md_settings/md_settings.html File chrome/browser/resources/md_settings/md_settings.html (right): https://codereview.chromium.org/917893004/diff/80001/chrome/browser/resources/md_settings/md_settings.html#newcode23 chrome/browser/resources/md_settings/md_settings.html:23: <cr-dropdown-menu style="width: 200px"> style should be in md_settings.css ...
5 years, 10 months ago (2015-02-20 22:54:44 UTC) #12
Jeremy Klein
https://codereview.chromium.org/917893004/diff/80001/chrome/browser/resources/md_settings/md_settings.html File chrome/browser/resources/md_settings/md_settings.html (right): https://codereview.chromium.org/917893004/diff/80001/chrome/browser/resources/md_settings/md_settings.html#newcode23 chrome/browser/resources/md_settings/md_settings.html:23: <cr-dropdown-menu style="width: 200px"> On 2015/02/20 22:54:44, michaelpg wrote: > ...
5 years, 10 months ago (2015-02-20 23:28:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/917893004/120001
5 years, 10 months ago (2015-02-20 23:30:19 UTC) #16
Dan Beam
chrome/browser/resources/md_settings/md_settings.html lgtm for your CQ to work
5 years, 10 months ago (2015-02-20 23:38:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/917893004/140001
5 years, 10 months ago (2015-02-21 00:24:26 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-02-21 01:19:18 UTC) #21
commit-bot: I haz the power
5 years, 10 months ago (2015-02-21 01:20:12 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c7d1f48530806e896c976fdbd0b878915f54bc72
Cr-Commit-Position: refs/heads/master@{#317473}

Powered by Google App Engine
This is Rietveld 408576698