[Mac] WebKit contains dead source code for OS X Mavericks and earlier
[WebKit-https.git] / WebKitLibraries / WebKitSystemInterfaceIOS.h
1 /*
2  *  WebKitSystemInterfaceIOS.h
3  *  Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
4  */
5
6 #import <CoreGraphics/CoreGraphics.h>
7
8 #ifdef __OBJC__
9 @class UIScreen;
10 @class UIViewController;
11 #else
12 class UIScreen;
13 #endif
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 bool WKExecutableWasLinkedOnOrAfterIOSVersion(int);
20
21 bool WKIsGB18030ComplianceRequired(void);
22
23 typedef enum {
24     WKDeviceClassInvalid = -1,
25     WKDeviceClassiPad,
26     WKDeviceClassiPhone,
27     WKDeviceClassiPod,
28 } WKDeviceClass;
29 int WKGetDeviceClass(void);
30
31 CFStringRef WKGetUserAgent(void);
32 CFStringRef WKGetOSNameForUserAgent(void);
33 CFStringRef WKGetDeviceName(void);
34 CFStringRef WKGetPlatformNameForNavigator(void);
35 CFStringRef WKGetVendorNameForNavigator(void);
36
37 CGSize WKGetScreenSize(void);
38 CGSize WKGetAvailableScreenSize(void);
39
40 float WKGetMinimumZoomFontSize(void);
41
42 float WKGetScreenScaleFactor(void);
43 float WKGetScaleFactorForScreen(UIScreen *);
44
45 #ifdef __OBJC__
46 NSData *WKAXRemoteToken(CFUUIDRef);
47 void WKAXStoreRemoteConnectionInformation(id, pid_t, mach_port_t, CFUUIDRef);
48 void WKAXRegisterRemoteApp(void);
49 #endif
50
51 bool WKIsOptimizedFullscreenSupported(void);
52
53 #ifdef __cplusplus
54 }
55 #endif