|
Rename WebsiteSettings code to PageInfo.
This was automated using a script [1] that does the following:
- Rename relevant files in the following folders from website_settings* to
page_info*:
- chrome/browser/ui/page_info
- chrome/browser/ui/cocoa/page_info
- chrome/browser/ui/views/page_info
- chrome/browser/ui/android/page_info
- chrome/android/java/res/layout
- Run `./tools/git/mass-rename.py` to update e.g. includes, build files, header
guards.
- mass-rename.py does not handle test files ( https://crbug.com/701529) or
Java, so those are handled separately, either in an early step are as part
of the later renames.
- `page_info_bubble_controller.h` needs a separate header guard fix.
- Use `sed` to rename classes, enums, non-UMA strings, and comments *WebsiteSettings* to *PageInfo* across the entire Chromium project.
- Since several content settings classes are also called "WebsiteSettings", this is done by taking a full list of all occurrences of full tokens containing "WebsiteSettings", "website_settings", or "website settings" and whitelisting individual replacements.
- To avoid modifying strings, all lines containing the relevant tokens *following at least one quote mark on the same line* are preserved, except two individually handled cases. There do not appear to be any affected multi-line strings.
- `git cl format`
- Remove two long-standing TODO comments about this rename, in:
- PageInfoPopup.java
- page_info_bubble_controller.h
This CL does not attempt to reflow comments; all changes stay within 80 lines, though.
[1] https://github.com/lgarron/website-settings-to-page-info/blob/master/page_info.fish
BUG= 571506
TBR=jochen@chromium.org
Review-Url: https://codereview.chromium.org/2754383004
Cr-Commit-Position: refs/heads/master@{#459562}
Committed: https://chromium.googlesource.com/chromium/src/+/617a30f35e5cec5df6c15a8d7fbb222cdbabcccc
Total comments: 18
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1035 lines, -7873 lines) |
Patch |
|
M |
build/android/pylib/gtest/filter/unit_tests_disabled
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
chrome/android/java/res/layout/page_info.xml
|
View
|
1
|
3 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
|
A + |
chrome/android/java/res/layout/page_info_permission_row.xml
|
View
|
1
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
|
D |
chrome/android/java/res/layout/website_settings.xml
|
View
|
1
|
1 chunk |
+0 lines, -109 lines |
0 comments
|
Download
|
|
D |
chrome/android/java/res/layout/website_settings_permission_row.xml
|
View
|
1
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/res/values/colors.xml
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/res/values/dimens.xml
|
View
|
1
2
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/page_info/ConnectionInfoPopup.java
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/android/java/src/org/chromium/chrome/browser/page_info/PageInfoPopup.java
|
View
|
1
|
17 chunks |
+37 lines, -39 lines |
0 comments
|
Download
|
|
D |
chrome/android/java/src/org/chromium/chrome/browser/page_info/WebsiteSettingsPopup.java
|
View
|
1
|
1 chunk |
+0 lines, -980 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/android/java/strings/android_chrome_strings.grd
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/java_sources.gni
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/app/generated_resources.grd
|
View
|
1
2
|
1 chunk |
+45 lines, -45 lines |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/android/chrome_jni_registrar.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/resource_id.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/ui/simple_web_view_dialog.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
|
5 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/android/page_info/connection_info_popup_android.h
|
View
|
1
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/android/page_info/connection_info_popup_android.cc
|
View
|
1
|
7 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/android/page_info/page_info_popup_android.h
|
View
|
1
|
4 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/android/page_info/page_info_popup_android.cc
|
View
|
1
|
8 chunks |
+27 lines, -30 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/android/page_info/website_settings_popup_android.h
|
View
|
1
|
1 chunk |
+0 lines, -69 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/android/page_info/website_settings_popup_android.cc
|
View
|
1
|
1 chunk |
+0 lines, -173 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/autofill/chrome_autofill_client.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_commands.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_commands.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_dialogs.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_window.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/browser_window_cocoa.h
|
View
|
1
2
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
View
|
1
2
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h
|
View
|
1
2
3
|
7 chunks |
+23 lines, -27 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.mm
|
View
|
1
|
23 chunks |
+60 lines, -70 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/cocoa/page_info/page_info_bubble_controller_unittest.mm
|
View
|
1
2
|
10 chunks |
+29 lines, -30 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.h
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.mm
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/page_info/permission_selector_button.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/page_info/permission_selector_button.mm
|
View
|
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/page_info/permission_selector_button_unittest.mm
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/cocoa/page_info/website_settings_bubble_controller.h
|
View
|
|
1 chunk |
+0 lines, -158 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/cocoa/page_info/website_settings_bubble_controller.mm
|
View
|
|
1 chunk |
+0 lines, -1214 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/cocoa/page_info/website_settings_bubble_controller_unittest.mm
|
View
|
1
2
|
1 chunk |
+0 lines, -304 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.h
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/cocoa/page_info/website_settings_utils_cocoa.mm
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.mm
|
View
|
|
4 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/login/login_handler.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info.h
|
View
|
1
|
7 chunks |
+36 lines, -36 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info.cc
|
View
|
1
|
19 chunks |
+51 lines, -55 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info_infobar_delegate.h
|
View
|
1
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info_infobar_delegate.cc
|
View
|
1
|
2 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info_ui.h
|
View
|
1
|
8 chunks |
+21 lines, -22 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info_ui.cc
|
View
|
1
|
15 chunks |
+92 lines, -100 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/page_info/page_info_unittest.cc
|
View
|
1
2
|
21 chunks |
+177 lines, -185 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/page_info/permission_menu_model.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/page_info/permission_menu_model.cc
|
View
|
1
|
6 chunks |
+15 lines, -19 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/page_info/permission_menu_model_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings.h
|
View
|
1
|
1 chunk |
+0 lines, -241 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings.cc
|
View
|
|
1 chunk |
+0 lines, -754 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings_infobar_delegate.h
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings_infobar_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings_ui.h
|
View
|
|
1 chunk |
+0 lines, -204 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings_ui.cc
|
View
|
|
1 chunk |
+0 lines, -388 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/page_info/website_settings_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -721 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/browser_dialogs_views_mac.cc
|
View
|
1
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
1
2
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/location_bar/location_bar_view.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/location_bar/location_icon_view.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/location_bar/location_icon_view_interactive_uitest.cc
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/chosen_object_row.h
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/chosen_object_row.cc
|
View
|
|
4 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/chosen_object_row_observer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/views/page_info/page_info_popup_view.h
|
View
|
1
|
8 chunks |
+30 lines, -31 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/views/page_info/page_info_popup_view.cc
|
View
|
1
2
|
25 chunks |
+56 lines, -61 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/views/page_info/page_info_popup_view_interactive_uitest.cc
|
View
|
1
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/views/page_info/page_info_popup_view_unittest.cc
|
View
|
|
10 chunks |
+20 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/permission_selector_row.h
|
View
|
|
3 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/permission_selector_row.cc
|
View
|
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/page_info/permission_selector_row_observer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/views/page_info/website_settings_popup_view.h
|
View
|
|
1 chunk |
+0 lines, -186 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/views/page_info/website_settings_popup_view.cc
|
View
|
1
|
1 chunk |
+0 lines, -760 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/views/page_info/website_settings_popup_view_interactive_uitest.cc
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/views/page_info/website_settings_popup_view_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -268 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/toolbar/toolbar_view.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/toolbar/toolbar_view.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
|
View
|
1
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/test_browser_window.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/components_strings.grd
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/infobars/core/infobar_delegate.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
docs/ui/views/macviews_release.md
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ui/dialogs/nsurl_protection_space_util.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm
|
View
|
1
|
4 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
|
M |
tools/metrics/actions/actions.xml
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 52 (37 generated)
|