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

Issue 2461113002: WebUI: Make settings-action-menu re-usable as cr-action-menu. (Closed)

Created:
4 years, 1 month ago by dpapad
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, dbeam+watch-elements_chromium.org, extensions-reviews_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, tsergeant, vitalyp+closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: Make settings-action-menu re-usable as cr-action-menu. BUG=658821 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/fced7253587914664c2cfec0380198dc328767c4 Cr-Commit-Position: refs/heads/master@{#429388}

Patch Set 1 : Fix test. #

Patch Set 2 : Fix test. #

Patch Set 3 : Add missing dep #

Total comments: 5

Patch Set 4 : getComputedStyle instead of util.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -388 lines) Patch
M chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/compiled_resources2.gyp View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.html View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 8 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/on_startup_page/startup_url_entry.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/startup_url_entry.js View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/compiled_resources2.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers_list.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers_list.js View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/compiled_resources2.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.js View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.js View 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/resources/settings/settings_action_menu.html View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/resources/settings/settings_action_menu.js View 1 chunk +0 lines, -143 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/compiled_resources2.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/test/data/webui/cr_elements/cr_action_menu_test.js View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/webui/cr_elements/cr_elements_browsertest.js View 1 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/test/data/webui/settings/search_engines_page_test.js View 3 chunks +3 lines, -3 lines 0 comments Download
D chrome/test/data/webui/settings/settings_action_menu_test.js View 1 chunk +0 lines, -103 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/startup_urls_page_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + ui/webui/resources/cr_elements/cr_action_menu/compiled_resources2.gyp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
A + ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
A + ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
dpapad
This is the 1st step. Next steps (in follow up CLs): - Migrate MD History ...
4 years, 1 month ago (2016-10-29 00:55:41 UTC) #10
dpapad
Removing the direction_delegate dependency from teh action menu, has resulted in some deps failures in ...
4 years, 1 month ago (2016-10-31 22:03:02 UTC) #17
dpapad
On 2016/10/31 at 22:03:02, dpapad wrote: > Removing the direction_delegate dependency from teh action menu, ...
4 years, 1 month ago (2016-10-31 23:16:51 UTC) #20
Dan Beam
https://codereview.chromium.org/2461113002/diff/80001/chrome/test/data/webui/cr_elements/cr_action_menu_test.js File chrome/test/data/webui/cr_elements/cr_action_menu_test.js (right): https://codereview.chromium.org/2461113002/diff/80001/chrome/test/data/webui/cr_elements/cr_action_menu_test.js#newcode102 chrome/test/data/webui/cr_elements/cr_action_menu_test.js:102: }); how do you plan to test RTL now ...
4 years, 1 month ago (2016-11-01 18:13:00 UTC) #23
dpapad
https://codereview.chromium.org/2461113002/diff/80001/chrome/test/data/webui/cr_elements/cr_action_menu_test.js File chrome/test/data/webui/cr_elements/cr_action_menu_test.js (right): https://codereview.chromium.org/2461113002/diff/80001/chrome/test/data/webui/cr_elements/cr_action_menu_test.js#newcode102 chrome/test/data/webui/cr_elements/cr_action_menu_test.js:102: }); On 2016/11/01 at 18:13:00, Dan Beam wrote: > ...
4 years, 1 month ago (2016-11-01 18:31:03 UTC) #24
Dan Beam
lgtm https://codereview.chromium.org/2461113002/diff/80001/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js File ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js (right): https://codereview.chromium.org/2461113002/diff/80001/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js#newcode125 ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js:125: if (isRTL()) { can we just call getComputedStyle(anchorElement).direction ...
4 years, 1 month ago (2016-11-02 16:36:12 UTC) #25
Dan Beam
also something else to think about (that I haven't talked a lot about yet): <dialog> ...
4 years, 1 month ago (2016-11-02 16:37:27 UTC) #26
dpapad
+1 on talking to the platform team about dialog. We've identified a few cases for ...
4 years, 1 month ago (2016-11-02 17:24:13 UTC) #27
Dan Beam
https://codereview.chromium.org/2461113002/diff/80001/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js File ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js (right): https://codereview.chromium.org/2461113002/diff/80001/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js#newcode125 ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js:125: if (isRTL()) { On 2016/11/02 17:24:13, dpapad wrote: > ...
4 years, 1 month ago (2016-11-02 18:54:18 UTC) #28
dpapad
> i think in generic components (that don't necessarilly have the guarantee that <html> has ...
4 years, 1 month ago (2016-11-02 19:25:10 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2461113002/100001
4 years, 1 month ago (2016-11-02 19:28:10 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 1 month ago (2016-11-02 20:39:09 UTC) #33
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 20:41:26 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fced7253587914664c2cfec0380198dc328767c4
Cr-Commit-Position: refs/heads/master@{#429388}

Powered by Google App Engine
This is Rietveld 408576698