[ios] Move IsMultipleScenesSupported to base/ios/ios_util.{h,mm}
This function is useful to check whether the device supports having multiple scenes (which has impact on core behaviour of the application and not just on the UI). Move it besides other multi-window related functions. Fix compilation when targeting iOS x86 platform caused by the inclusion of partition_alloc header in base/memory/checked_ptr.h even when user_partition_alloc is disabled (which is always the case on iOS). Bug: none Change-Id: I31f7abb6479438176ed72467ddf9811624001911 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640455 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by:Mark Mentovai <mark@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#845666}
Showing
Please register or sign in to comment