forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MV] Refactors NTP Most Visited tiles into cr_components (part 1)
This CL refactors the NTP Most Visited tiles which are largely duplicated between the 1P and the 3P NTP into cr_components. It also migrates the <cr-most-visited> to Mojo JS modules. The 3P NTP will start using this new component in a follow up CL. In addition to migrating the UI and handler code, this CL makes the following changes to the MV and as a result the NTP: - Allows MV tiles to handle its own visibility and theming for better encapsulation of that logic. - Splits the browser interface for observing changes in the MV info into two separate callbacks, one for MV settings and the other MV tiles. This avoids sending stale MV settings to the UI and will simplify the browser side code in the future. - NTP customize dialog will longer observe changes to the MV settings. the customize module will query those settings once shown. Bug: 1211534 Change-Id: Ie5e836cdd5ca04342b58f97cb779a75ef19cea27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2919142 Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by: dpapad <dpapad@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/master@{#888254}
- Loading branch information
Moe Ahmadi
authored and
Chromium LUCI CQ
committed
Jun 2, 2021
1 parent
909aa2c
commit 122826c
Showing
42 changed files
with
1,253 additions
and
627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
file://chrome/browser/ui/webui/new_tab_page/OWNERS |
Oops, something went wrong.