| Commit-Queue | +1 |
rakina@: PTAL. Thanks!
Context: I am expanding `mojom::NavigationInitiatorActivationAndAdStatus` from 3 to 4 states. The existing enum structure was from your suggestion 3 years ago ([link](https://crrev.com/c/4017155/6..20/content/browser/renderer_host/render_frame_host_impl.h#b3881)) to avoid conceptual overlap with `RFHI::last_committed_common_params_has_user_gesture_`.
However, for the new work, I now need the "from ad" signal even when there is no transient user activation.
Not sure if this changes your preference between keeping the enum structure or switching to two booleans. But since the enum is already established, I am leaning towards retaining it to minimize the churn of updating function signatures across the stack.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
rakina@: PTAL. Thanks!
Context: I am expanding `mojom::NavigationInitiatorActivationAndAdStatus` from 3 to 4 states. The existing enum structure was from your suggestion 3 years ago ([link](https://crrev.com/c/4017155/6..20/content/browser/renderer_host/render_frame_host_impl.h#b3881)) to avoid conceptual overlap with `RFHI::last_committed_common_params_has_user_gesture_`.
However, for the new work, I now need the "from ad" signal even when there is no transient user activation.
Not sure if this changes your preference between keeping the enum structure or switching to two booleans. But since the enum is already established, I am leaning towards retaining it to minimize the churn of updating function signatures across the stack.
Thanks for giving the context! I think things haven't changed around the clarity of user gesture filtering since then, so this seems OK to me.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dcheng@: PTAL at navigation_policy.cc and mojom changes. Thanks!
jkarlin@: PTAL at *page_load_metrics* and *subresource_filter* changes. Thanks!
| 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. |