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

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed)

Created:
4 years, 6 months ago by tsergeant
Modified:
4 years, 6 months ago
Reviewers:
Dan Beam, dpapad
CC:
arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-elements_chromium.org, dbeam+watch-settings_chromium.org, gcasto+watchlist_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-elements_chromium.org, mkwst+watchlist-passwords_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: Extract settings-dialog into shared cr-dialog element MD History needs to add a dialog which looks the same as settings' dialogs. This CL moves <settings-dialog> to cr_elements as <cr-dialog> and converts all of settings to use the new element. BUG=618579 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1152c9bfedb85a1d802cfd274699d729bc7bad74 Cr-Commit-Position: refs/heads/master@{#400932}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Fix nit #

Patch Set 5 : Remove ) from comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -240 lines) Patch
M chrome/browser/resources/settings/about_page/channel_switcher_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_password_encryption_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificates_error_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/device_page/display_overscan_dialog.html View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/people_page/users_add_user_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/reset_page/powerwash_dialog.html View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_profile_dialog.html View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html View 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/resources/settings/settings_dialog.html View 1 chunk +0 lines, -106 lines 0 comments Download
D chrome/browser/resources/settings/settings_dialog.js View 1 chunk +0 lines, -44 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/settings_shared_css.html View 1 2 3 2 chunks +2 lines, -24 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.html View 3 chunks +3 lines, -3 lines 0 comments Download
A + ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html View 2 chunks +2 lines, -3 lines 0 comments Download
A + ui/webui/resources/cr_elements/cr_dialog/cr_dialog.js View 1 chunk +2 lines, -2 lines 0 comments Download
A ui/webui/resources/cr_elements/shared_style_css.html View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
tsergeant
dpapad@, PTAL. Reusing settings-dialog is the easiest way for us to add a dialog to ...
4 years, 6 months ago (2016-06-16 05:51:22 UTC) #4
dpapad
+dbeam for new cr_elements/shared_style.html
4 years, 6 months ago (2016-06-16 20:53:51 UTC) #6
dpapad
LGTM with nit. https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html File ui/webui/resources/cr_elements/shared_style.html (right): https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html#newcode1 ui/webui/resources/cr_elements/shared_style.html:1: <link rel="import" href="chrome://resources/html/polymer.html"> I think the ...
4 years, 6 months ago (2016-06-17 02:46:01 UTC) #7
tsergeant
https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html File ui/webui/resources/cr_elements/shared_style.html (right): https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html#newcode1 ui/webui/resources/cr_elements/shared_style.html:1: <link rel="import" href="chrome://resources/html/polymer.html"> On 2016/06/17 02:46:01, dpapad wrote: > ...
4 years, 6 months ago (2016-06-17 04:21:17 UTC) #8
tsergeant
ping dbeam -- can you please take a look?
4 years, 6 months ago (2016-06-20 01:50:51 UTC) #9
Dan Beam
lgtm https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html File ui/webui/resources/cr_elements/shared_style.html (right): https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html#newcode12 ui/webui/resources/cr_elements/shared_style.html:12: background-color: rgb(58, 117, 215); /* 88% of --google-blue-500) ...
4 years, 6 months ago (2016-06-21 05:30:35 UTC) #10
tsergeant
https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html File ui/webui/resources/cr_elements/shared_style.html (right): https://codereview.chromium.org/2071543003/diff/40001/ui/webui/resources/cr_elements/shared_style.html#newcode12 ui/webui/resources/cr_elements/shared_style.html:12: background-color: rgb(58, 117, 215); /* 88% of --google-blue-500) */ ...
4 years, 6 months ago (2016-06-21 08:07:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071543003/80001
4 years, 6 months ago (2016-06-21 08:16:07 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-21 09:38:17 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 09:39:24 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1152c9bfedb85a1d802cfd274699d729bc7bad74
Cr-Commit-Position: refs/heads/master@{#400932}

Powered by Google App Engine
This is Rietveld 408576698