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

Issue 516703002: Replaced the current WebsiteSettings dialog with a new PageInfo dialog (Closed)

Created:
6 years, 3 months ago by sashab
Modified:
6 years, 2 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, benwells, palmer, felt, Ben Goodger (Google), Greg Billock
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Replaced the current WebsiteSettings dialog with a new PageInfo dialog Started replacing the current WebsiteSettings dialog with a simple implementation of the upcoming PageInfo dialog. Currently, the dialog only contains the URL, a short message about the site and a 'Done' button to close the dialog. Later, it will also contain individual dropdowns to configure permissions for the website's content settings. The new dialog is hidden behind the flag --enable-new-website-settings. Without the flag, the old dialog will be displayed. BUG=365528 Committed: https://crrev.com/fa1f0b371e82dac98cdbd4e14cce09777bd0c660 Cr-Commit-Position: refs/heads/master@{#299039}

Patch Set 1 #

Patch Set 2 : Moved existing WebsiteSettingsPopup to WebsiteSettingsPopupLegacy, and hid the new popup behind a f… #

Patch Set 3 : Restored WebsiteSettingsPopupLegacy to its former file, but with renames and formatting fixes for p… #

Patch Set 4 : Small fixes #

Patch Set 5 : Used generated enum to pass between WebsiteSettingsPopup Java and C++ #

Patch Set 6 : Added missing template files for PageInfoConnectionType enum #

Total comments: 28

Patch Set 7 : WIP - Cannot find PageInfoConnectionType #

Patch Set 8 : Review feedback & switched to new enum system #

Total comments: 6

Patch Set 9 : Rebase #

Total comments: 8

Patch Set 10 : Updated WebsiteSettingsPopupLegacy to reflect latest changes to file #

Total comments: 5

Patch Set 11 : Small description string change #

Patch Set 12 : Rebase #

Total comments: 2

Patch Set 13 : Small androidwebview fix #

Total comments: 4

Patch Set 14 : Added a ChromeSwitches file and removed PageInfoConnectionType from AndroidWebview #

Patch Set 15 : Fixed merge #

Patch Set 16 : Rebase #

Total comments: 6

Patch Set 17 : Review feedback #

Patch Set 18 : Removed changes to chromium_strings #

Total comments: 6

Patch Set 19 : Small review feedback #

Total comments: 2

Patch Set 20 : Small fix #

Patch Set 21 : rebase #

Patch Set 22 : Removed "is_android" guard on permission strings. Could have #defined out the function that uses th… #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -330 lines) Patch
M chrome/android/java/res/layout/website_settings.xml View 1 2 3 4 1 chunk +18 lines, -23 lines 0 comments Download
A + chrome/android/java/res/layout/website_settings_legacy.xml View 1 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 1 chunk +11 lines, -1 line 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/ChromeSwitches.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +117 lines, -154 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java View 1 2 3 4 5 6 7 8 9 9 chunks +16 lines, -14 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.cc View 1 2 3 4 5 6 3 chunks +45 lines, -101 lines 0 comments Download
A + chrome/browser/ui/android/website_settings_popup_legacy_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +10 lines, -10 lines 0 comments Download
A + chrome/browser/ui/android/website_settings_popup_legacy_android.cc View 1 2 3 4 5 6 7 8 9 7 chunks +24 lines, -20 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 1 comment Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (10 generated)
sashab
sashab@chromium.org changed reviewers: + newt@chromium.org, tedchoc@chromium.org
6 years, 3 months ago (2014-08-28 00:21:23 UTC) #1
sashab
I was asked to replace the existing WebsiteSettings dialog with this PageInfo one - the ...
6 years, 3 months ago (2014-08-28 00:21:23 UTC) #2
sashab
Ok, I've now moved WebsiteSettingsPopup.java (and its corresponding cc/h/xml files) to WebsiteSettingsPopupLegacy, and moved all ...
6 years, 3 months ago (2014-08-28 07:08:37 UTC) #3
sashab
Please review. I'm going off the mocks from: www.crbug.com/394097 Currently, the functionality is hidden behind ...
6 years, 3 months ago (2014-09-01 23:09:15 UTC) #4
Ted C
https://codereview.chromium.org/516703002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java File chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java (right): https://codereview.chromium.org/516703002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java#newcode40 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java:40: final long mNativeWebsiteSettingsPopup; can this be private? https://codereview.chromium.org/516703002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java#newcode46 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java:46: ...
6 years, 3 months ago (2014-09-03 20:44:49 UTC) #5
sashab
Alright, all working! PTAL :) Now I just need some help with the tablet stuff... ...
6 years, 3 months ago (2014-09-19 02:29:48 UTC) #6
Ted C
lgtm w/ nits +cjhopman because I think you'll need to update some .gn files as ...
6 years, 3 months ago (2014-09-23 03:56:16 UTC) #8
cjhopman
`git cl try` will include some gn bots in the list it uses, or you ...
6 years, 2 months ago (2014-09-25 21:17:53 UTC) #9
sashab
benm@chromium.org: Please review changes in android_webview/ ben@chromium.org: Please review changes in chrome/chrome.gyp and chrome/browser/ui/* https://codereview.chromium.org/516703002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java ...
6 years, 2 months ago (2014-09-29 04:17:12 UTC) #11
palmer
https://codereview.chromium.org/516703002/diff/180001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/516703002/diff/180001/chrome/app/chromium_strings.grd#newcode617 chrome/app/chromium_strings.grd:617: Chromium could not detect your connection to this site. ...
6 years, 2 months ago (2014-09-30 21:44:30 UTC) #13
sashab
https://codereview.chromium.org/516703002/diff/180001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/516703002/diff/180001/chrome/app/chromium_strings.grd#newcode617 chrome/app/chromium_strings.grd:617: Chromium could not detect your connection to this site. ...
6 years, 2 months ago (2014-10-01 01:31:14 UTC) #14
benm (inactive)
https://codereview.chromium.org/516703002/diff/220001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/516703002/diff/220001/android_webview/java_library_common.mk#newcode45 android_webview/java_library_common.mk:45: $(call intermediates-dir-for,GYP,shared)/enums/page_info_connection_type/org/chromium/chrome/browser/PageInfoConnectionType.java \ I think that you also need ...
6 years, 2 months ago (2014-10-01 15:33:53 UTC) #15
sashab
https://codereview.chromium.org/516703002/diff/220001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/516703002/diff/220001/android_webview/java_library_common.mk#newcode45 android_webview/java_library_common.mk:45: $(call intermediates-dir-for,GYP,shared)/enums/page_info_connection_type/org/chromium/chrome/browser/PageInfoConnectionType.java \ On 2014/10/01 15:33:52, benm wrote: > ...
6 years, 2 months ago (2014-10-02 00:37:24 UTC) #16
benm (inactive)
https://codereview.chromium.org/516703002/diff/240001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/516703002/diff/240001/android_webview/java_library_common.mk#newcode47 android_webview/java_library_common.mk:47: $(call intermediates-dir-for,GYP,shared)/enums/page_info_connection_type/org/chromium/chrome/browser/PageInfoConnectionType.java \ Hold up, sorry I didn't notice ...
6 years, 2 months ago (2014-10-06 09:04:07 UTC) #17
sashab
Added a ChromeSwitches file and removed PageInfoConnectionType from AndroidWebview. https://codereview.chromium.org/516703002/diff/240001/android_webview/java_library_common.mk File android_webview/java_library_common.mk (right): https://codereview.chromium.org/516703002/diff/240001/android_webview/java_library_common.mk#newcode47 android_webview/java_library_common.mk:47: ...
6 years, 2 months ago (2014-10-06 23:11:55 UTC) #18
benm (inactive)
On 2014/10/06 23:11:55, sasha_b wrote: > Added a ChromeSwitches file and removed PageInfoConnectionType from > ...
6 years, 2 months ago (2014-10-07 09:51:05 UTC) #19
Ted C
still lgtm w/ some small final nits https://codereview.chromium.org/516703002/diff/300001/chrome/android/java/res/layout/website_settings_legacy.xml File chrome/android/java/res/layout/website_settings_legacy.xml (right): https://codereview.chromium.org/516703002/diff/300001/chrome/android/java/res/layout/website_settings_legacy.xml#newcode19 chrome/android/java/res/layout/website_settings_legacy.xml:19: android:layout_width="wrap_content" why ...
6 years, 2 months ago (2014-10-07 17:48:06 UTC) #20
sashab
-ben gbillock: ptal at chrome/browser/ui/website_settings :) thestig: ptal at chrome/chrome.gyp :) https://codereview.chromium.org/516703002/diff/300001/chrome/android/java/res/layout/website_settings_legacy.xml File chrome/android/java/res/layout/website_settings_legacy.xml (right): ...
6 years, 2 months ago (2014-10-07 22:58:24 UTC) #22
Lei Zhang
https://codereview.chromium.org/516703002/diff/340001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/516703002/diff/340001/chrome/app/generated_resources.grd#newcode9443 chrome/app/generated_resources.grd:9443: + <message name="IDS_PAGE_INFO_ENCRYPTED_CONNECTION_SUMMARY_TEXT" desc="Message to display in the page ...
6 years, 2 months ago (2014-10-07 23:30:31 UTC) #24
sashab
Thanks thestig - feedback done. Re-assigned website_settings review to markusheintz after chat with gbillock :) ...
6 years, 2 months ago (2014-10-08 00:04:21 UTC) #25
Lei Zhang
lgtm https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc File chrome/browser/ui/website_settings/website_settings_ui.cc (right): https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc#newcode9 chrome/browser/ui/website_settings/website_settings_ui.cc:9: #include "chrome/grit/theme_resources.h" Sorry, this one should be just ...
6 years, 2 months ago (2014-10-08 00:07:33 UTC) #26
sashab
https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc File chrome/browser/ui/website_settings/website_settings_ui.cc (right): https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc#newcode9 chrome/browser/ui/website_settings/website_settings_ui.cc:9: #include "chrome/grit/theme_resources.h" On 2014/10/08 00:07:32, Lei Zhang wrote: > ...
6 years, 2 months ago (2014-10-08 01:08:09 UTC) #27
markusheintz_
On 2014/10/08 01:08:09, sasha_b wrote: > https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc > File chrome/browser/ui/website_settings/website_settings_ui.cc (right): > > https://codereview.chromium.org/516703002/diff/360001/chrome/browser/ui/website_settings/website_settings_ui.cc#newcode9 > ...
6 years, 2 months ago (2014-10-08 17:06:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/516703002/380001
6 years, 2 months ago (2014-10-08 18:46:01 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/22094) linux_chromium_compile_dbg_32 on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32/builds/936) linux_chromium_gn_rel ...
6 years, 2 months ago (2014-10-08 19:05:10 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/516703002/400001
6 years, 2 months ago (2014-10-09 22:28:41 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/6739) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/23658)
6 years, 2 months ago (2014-10-09 23:10:43 UTC) #36
sashab
https://codereview.chromium.org/516703002/diff/530001/chrome/browser/ui/website_settings/website_settings_ui.h File chrome/browser/ui/website_settings/website_settings_ui.h (right): https://codereview.chromium.org/516703002/diff/530001/chrome/browser/ui/website_settings/website_settings_ui.h#newcode158 chrome/browser/ui/website_settings/website_settings_ui.h:158: static int GetConnectionSummaryMessageID( Could have made this function android ...
6 years, 2 months ago (2014-10-10 01:15:17 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/516703002/530001
6 years, 2 months ago (2014-10-10 01:17:52 UTC) #39
commit-bot: I haz the power
Committed patchset #22 (id:530001)
6 years, 2 months ago (2014-10-10 02:03:56 UTC) #40
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 02:05:14 UTC) #41
Message was sent while issue was closed.
Patchset 22 (id:??) landed as
https://crrev.com/fa1f0b371e82dac98cdbd4e14cce09777bd0c660
Cr-Commit-Position: refs/heads/master@{#299039}

Powered by Google App Engine
This is Rietveld 408576698