sorry, I'm ooo for the next week and didn't quite get to this review. Could you ask one of the other pageinfo owners to continue the review?
This change adds a subpage to the Automatic Picture-in-Picture content
This change also seems to add a webui settings page? Could you add that to the description?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
sorry, I'm ooo for the next week and didn't quite get to this review. Could you ask one of the other pageinfo owners to continue the review?
Absolutely, enjoy your time off!
This change adds a subpage to the Automatic Picture-in-Picture content
This change also seems to add a webui settings page? Could you add that to the description?
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. |
Adding:
* @dpen...@chromium.org for c/b/u/chrome_pages.cc
* @the...@chromium.org for c/c/webui_url_constants.h
* @jop...@chromium.org for m/b/media_switches.*
Tx!
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. |
Code-Review | +1 |
media/base LGTM % feedback.
MEDIA_EXPORT bool IsAutoPictureInPicturePageInfoDetailsEnabled();
Since this is only used once? consider deleting this function in favor of just checking the feature list directly.
I think these helpers can be useful if whether something is enabled depends on more than just the base::Feature (e.g. build flags, configs), but since it's just wrapping a feature list check I actually think it makes things less clear.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
MEDIA_EXPORT bool IsAutoPictureInPicturePageInfoDetailsEnabled();
Since this is only used once? consider deleting this function in favor of just checking the feature list directly.
I think these helpers can be useful if whether something is enabled depends on more than just the base::Feature (e.g. build flags, configs), but since it's just wrapping a feature list check I actually think it makes things less clear.
I think the method saves on visual clutter, but I agree that not having it does make things clearer. Updated.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |