constraints.useSurfaceView = ChromeFeatureList.sEnableSurfaceViewForCompositor.isEnabled();I would wish if we didn't have to change each callsite to set this finch flag.
I am trying to move the factory to chorme layer so that we can set the flag in CompositorViewFactory.
https://chromium-review.googlesource.com/c/chromium/src/+/7500317
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
constraints.useSurfaceView = ChromeFeatureList.sEnableSurfaceViewForCompositor.isEnabled();I would wish if we didn't have to change each callsite to set this finch flag.
I am trying to move the factory to chorme layer so that we can set the flag in CompositorViewFactory.
https://chromium-review.googlesource.com/c/chromium/src/+/7500317
Thank you! I'll move the flag checks to both CompositorViewFactory and ThinWebViewFactory once it's merged.
To double check, shall we keep the new `useSurfaceView` param in the ThinWebViewConstraints and set it to `true` if the flag is enabled in CompositorViewFactory and ThinWebViewFactory?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
constraints.useSurfaceView = ChromeFeatureList.sEnableSurfaceViewForCompositor.isEnabled();Phil YanI would wish if we didn't have to change each callsite to set this finch flag.
I am trying to move the factory to chorme layer so that we can set the flag in CompositorViewFactory.
https://chromium-review.googlesource.com/c/chromium/src/+/7500317
Thank you! I'll move the flag checks to both CompositorViewFactory and ThinWebViewFactory once it's merged.
To double check, shall we keep the new `useSurfaceView` param in the ThinWebViewConstraints and set it to `true` if the flag is enabled in CompositorViewFactory and ThinWebViewFactory?
Yea, we can do that. Or, probably better we can keep `useSurfaceView` param out of `ThinWebViewConstraints` and pass it in the constructor of `CompositorViewImpl` and `ThinWebViewImpl`. That way the clients dont need to worry about this param and the callsites remain as-is.
```
public CompositorViewImpl(
Context context, boolean useSurfaceView, WindowAndroid windowAndroid, ThinWebViewConstraints constraints)
```
wdyt?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |