⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 285910 in webkit


Ignore:
Timestamp:
Nov 16, 2021, 6:39:47 PM (5 years ago)
Author:
Devin Rousso
Message:

[iOS] use PhotosUIPrivate instead of PhotosUI
https://bugs.webkit.org/show_bug.cgi?id=233213
<rdar://problem/85300427>

Reviewed by Aditya Keerthi.

Source/WebKit:

  • Platform/spi/ios/PhotosUISPI.h:
  • UIProcess/ios/forms/WKFileUploadPanel.mm:

Source/WTF:

  • wtf/PlatformHave.h:
Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r285846 r285910  
     12021-11-16  Devin Rousso  <drousso@apple.com>
     2
     3        [iOS] use PhotosUIPrivate instead of PhotosUI
     4        https://bugs.webkit.org/show_bug.cgi?id=233213
     5        <rdar://problem/85300427>
     6
     7        Reviewed by Aditya Keerthi.
     8
     9        * wtf/PlatformHave.h:
     10
    1112021-11-15  Sam Weinig  <weinig@apple.com>
    212
  • trunk/Source/WTF/wtf/PlatformHave.h

    r285846 r285910  
    10691069
    10701070#if PLATFORM(IOS)
    1071 #define HAVE_PUACTIVITYPROGRESSCONTROLLER 1
     1071#define HAVE_PHOTOS_UI 1
     1072#if __has_include(<PhotosUIPrivate/PUActivityProgressController.h>)
     1073#define HAVE_PHOTOS_UI_PRIVATE 1
     1074#endif
    10721075#endif
    10731076
  • trunk/Source/WebKit/ChangeLog

    r285906 r285910  
     12021-11-16  Devin Rousso  <drousso@apple.com>
     2
     3        [iOS] use PhotosUIPrivate instead of PhotosUI
     4        https://bugs.webkit.org/show_bug.cgi?id=233213
     5        <rdar://problem/85300427>
     6
     7        Reviewed by Aditya Keerthi.
     8
     9        * Platform/spi/ios/PhotosUISPI.h:
     10        * UIProcess/ios/forms/WKFileUploadPanel.mm:
     11
    1122021-11-16  Per Arne Vollan  <pvollan@apple.com>
    213
  • trunk/Source/WebKit/Platform/spi/ios/PhotosUISPI.h

    r283662 r285910  
    2626#if USE(APPLE_INTERNAL_SDK)
    2727
    28 #if HAVE(PUACTIVITYPROGRESSCONTROLLER)
     28#if HAVE(PHOTOS_UI_PRIVATE)
     29#import <PhotosUIPrivate/PUActivityProgressController.h>
     30#elif HAVE(PHOTOS_UI)
    2931#import <PhotosUI/PUActivityProgressController.h>
    3032#endif
     
    3436#import "UIKitSPI.h"
    3537
    36 #if HAVE(PUACTIVITYPROGRESSCONTROLLER)
     38#if HAVE(PHOTOS_UI)
    3739
    3840@interface PUActivityProgressController : NSObject
     
    5153@end
    5254
    53 #endif // HAVE(PUACTIVITYPROGRESSCONTROLLER)
     55#endif // HAVE(PHOTOS_UI)
    5456
    5557#endif // USE(APPLE_INTERNAL_SDK)
  • trunk/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm

    r283721 r285910  
    5555#import <pal/cocoa/AVFoundationSoftLink.h>
    5656
    57 #if HAVE(PUACTIVITYPROGRESSCONTROLLER)
     57#if HAVE(PHOTOS_UI_PRIVATE)
     58SOFT_LINK_PRIVATE_FRAMEWORK(PhotosUIPrivate)
     59SOFT_LINK_CLASS(PhotosUIPrivate, PUActivityProgressController)
     60#elif HAVE(PHOTOS_UI)
    5861SOFT_LINK_FRAMEWORK(PhotosUI)
    5962SOFT_LINK_CLASS(PhotosUI, PUActivityProgressController)
Note: See TracChangeset for help on using the changeset viewer.