LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2014-2017 Apple Inc. All rights reserved. | 2 * Copyright (C) 2014-2017 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 @discussion The default value is YES. | 46 @discussion The default value is YES. |
47 */ | 47 */ |
48 @property (nonatomic) BOOL javaScriptEnabled; | 48 @property (nonatomic) BOOL javaScriptEnabled; |
49 | 49 |
50 /*! @abstract A Boolean value indicating whether JavaScript can open | 50 /*! @abstract A Boolean value indicating whether JavaScript can open |
51 windows without user interaction. | 51 windows without user interaction. |
52 @discussion The default value is NO in iOS and YES in OS X. | 52 @discussion The default value is NO in iOS and YES in OS X. |
53 */ | 53 */ |
54 @property (nonatomic) BOOL javaScriptCanOpenWindowsAutomatically; | 54 @property (nonatomic) BOOL javaScriptCanOpenWindowsAutomatically; |
55 | 55 |
| 56 /*! @abstract A Boolean value indicating whether the WKWebView should perform Sa
feBrowsing checks |
| 57 before navigating to a URL. |
| 58 @discussion The default value is NO. |
| 59 */ |
| 60 @property (nonatomic) BOOL safeBrowsingEnabled WK_API_AVAILABLE(macosx(WK_MAC_TB
A), ios(WK_IOS_TBA)); |
| 61 |
56 #if !TARGET_OS_IPHONE | 62 #if !TARGET_OS_IPHONE |
57 /*! @abstract A Boolean value indicating whether Java is enabled. | 63 /*! @abstract A Boolean value indicating whether Java is enabled. |
58 @discussion The default value is NO. | 64 @discussion The default value is NO. |
59 */ | 65 */ |
60 @property (nonatomic) BOOL javaEnabled; | 66 @property (nonatomic) BOOL javaEnabled; |
61 | 67 |
62 /*! @abstract A Boolean value indicating whether plug-ins are enabled. | 68 /*! @abstract A Boolean value indicating whether plug-ins are enabled. |
63 @discussion The default value is NO. | 69 @discussion The default value is NO. |
64 */ | 70 */ |
65 @property (nonatomic) BOOL plugInsEnabled; | 71 @property (nonatomic) BOOL plugInsEnabled; |
66 | 72 |
67 /*! | 73 /*! |
68 @property tabFocusesLinks | 74 @property tabFocusesLinks |
69 @abstract If tabFocusesLinks is YES, the tab key will focus links and form cont
rols. | 75 @abstract If tabFocusesLinks is YES, the tab key will focus links and form cont
rols. |
70 The Option key temporarily reverses this preference. | 76 The Option key temporarily reverses this preference. |
71 */ | 77 */ |
72 @property (nonatomic) BOOL tabFocusesLinks WK_API_AVAILABLE(macosx(10.12.3)); | 78 @property (nonatomic) BOOL tabFocusesLinks WK_API_AVAILABLE(macosx(10.12.3)); |
73 #endif | 79 #endif |
74 | 80 |
75 @end | 81 @end |
76 | 82 |
77 #endif | 83 #endif |
LEFT | RIGHT |