
The RenderWidgetHostViewCocoa and BridgedContentView implementations of -validRequestorForSendType:returnType: serve the same purpose but are written differently. Rewrite both to make them structured the same way and to be the most clear we can make them. Rename "return" to "accept" to clarify the direction of the flow of data. This is not intended to change the functionality of the method. Bug: 385170286 Change-Id: I9f29e107f237ce77628bfde907f302d36c17c8ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6254138 Auto-Submit: Avi Drissman <avi@chromium.org> Reviewed-by: Leonard Grey <lgrey@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1418874}