[Win] Unreviewed gardening.
[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 #else
11 class UIScreen;
12 #endif
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 bool WKExecutableWasLinkedOnOrAfterIOSVersion(int);
19
20 bool WKIsGB18030ComplianceRequired(void);
21
22 typedef enum {
23     WKDeviceClassInvalid = -1,
24     WKDeviceClassiPad,
25     WKDeviceClassiPhone,
26     WKDeviceClassiPod,
27 } WKDeviceClass;
28 int WKGetDeviceClass(void);
29
30 CFStringRef WKGetUserAgent(void);
31 CFStringRef WKGetOSNameForUserAgent(void);
32 CFStringRef WKGetDeviceName(void);
33 CFStringRef WKGetPlatformNameForNavigator(void);
34 CFStringRef WKGetVendorNameForNavigator(void);
35
36 CGSize WKGetScreenSize(void);
37 CGSize WKGetAvailableScreenSize(void);
38
39 float WKGetMinimumZoomFontSize(void);
40
41 float WKGetScreenScaleFactor(void);
42 float WKGetScaleFactorForScreen(UIScreen *);
43
44 #ifdef __OBJC__
45 NSData *WKAXRemoteToken(CFUUIDRef);
46 void WKAXStoreRemoteConnectionInformation(id, pid_t, mach_port_t, CFUUIDRef);
47 void WKAXRegisterRemoteApp(void);
48 #endif
49
50 bool WKIsOptimizedFullscreenSupported(void);
51 typedef enum {
52     WKMediaUIPartOptimizedFullscreenButton = 0,
53     WKMediaUIPartOptimizedFullscreenPlaceholder
54 } WKMediaUIPart;
55 CFStringRef WKGetMediaUIImageData(int);
56
57 #ifdef __cplusplus
58 }
59 #endif