| Code-Review | +1 |
const gfx::VectorIcon& GetAboutThisSiteIcon();optional nit: put this in a namespace (e.g. page_info) so the owner is clear at call sites.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
optional nit: put this in a namespace (e.g. page_info) so the owner is clear at call sites.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/ui/webui/webui_toolbar/utils/toolbar_button_utils.cc
Insertions: 1, Deletions: 1.
The diff is too large to show. Please review the diff.
```
```
The name of the file: chrome/browser/ui/page_info/about_this_site_icon.h
Insertions: 4, Deletions: 0.
The diff is too large to show. Please review the diff.
```
```
The name of the file: chrome/browser/ui/browser_actions.cc
Insertions: 5, Deletions: 4.
The diff is too large to show. Please review the diff.
```
```
The name of the file: chrome/browser/ui/page_info/about_this_site_icon.cc
Insertions: 4, Deletions: 0.
The diff is too large to show. Please review the diff.
```
```
The name of the file: chrome/browser/ui/views/page_info/page_info_main_view.cc
Insertions: 2, Deletions: 2.
The diff is too large to show. Please review the diff.
```
[PageInfo] Make the About this site icon a single shared function
The About this site icon was chosen in three places: PageInfoViewFactory
(Views) for the page info bubble. BrowserActions for the side panel
action, which is why the toolkit-agnostic registry included a Views page
info header, and a CHECK in the WebUI toolbar's
ActionItemToPinnedToolbarAction() that hard-coded the same choice.
Add GetAboutThisSiteIcon() in chrome/browser/ui/page_info, in its own
small target, and use it from all three. Its header is toolkit-agnostic;
the Chromium-branded art lives in the Views icon set, so the
implementation depends on //ui/views for that icon data only.
No behavior change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |