-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ads] RichNTT: Desktop #27358
[ads] RichNTT: Desktop #27358
Conversation
Chromium major version is behind target branch (132.0.6834.83 vs 133.0.6943.27). Please rebase. |
b1f9e91
to
c4eb8a4
Compare
57011f8
to
51c6336
Compare
e822363
to
aa3de5a
Compare
components/ntp_background_images/browser/ntp_sponsored_images_data.h
Outdated
Show resolved
Hide resolved
e56d308
to
31aa8d5
Compare
[puLL-Merge] - brave/brave-core@27358 Here's my review of the PR: DescriptionThis PR adds support for rich media ads in the New Tab Page (NTP) background. It includes the ability to serve rich media content through an untrusted WebUI frame, handle new media playback events (50% and 75%), and support interaction events. The changes also refactor how new tab page ads are managed, moving away from catalog-based ads to component-based ads. Possible Issues
Security Hotspots
ChangesChanges
sequenceDiagram
participant Browser
participant NTPService
participant RichMediaSource
participant AdService
Browser->>NTPService: Request new tab page
NTPService->>RichMediaSource: Init rich media frame
RichMediaSource->>RichMediaSource: Validate paths & set CSP
RichMediaSource-->>NTPService: Return sandboxed frame
NTPService-->>Browser: Display rich media content
Browser->>AdService: Report media events
AdService->>AdService: Process events (25%,50%,75%,100%)
AdService-->>Browser: Update metrics
|
03bbd97
to
7779370
Compare
Closing and will reopen a new PR. |
Resolves brave/brave-browser#43512
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
See spec.