[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 <[email protected]>
Commit-Queue: Mark Mentovai <[email protected]>
Reviewed-by: Mark Mentovai <[email protected]>
Reviewed-by: Mark Cogan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#845666}
diff --git a/base/ios/ios_util.h b/base/ios/ios_util.h
index 4741f30..8647f014 100644
--- a/base/ios/ios_util.h
+++ b/base/ios/ios_util.h
@@ -56,6 +56,11 @@
 // base::ios::IsMultiwindowSupported() returns true.
 BASE_EXPORT bool IsSceneStartupSupported();
 
+// Returns true iff multiple windows can be opened, i.e. when the multiwindow
+// build flag is on, the device is running on iOS 13+ and it's a compatible
+// iPad.
+BASE_EXPORT bool IsMultipleScenesSupported();
+
 }  // namespace ios
 }  // namespace base