LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2014-2018 Apple Inc. All rights reserved. | 2 * Copyright (C) 2014-2018 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 28 matching lines...) Expand all Loading... |
39 #import "FullscreenClient.h" | 39 #import "FullscreenClient.h" |
40 #import "IconLoadingDelegate.h" | 40 #import "IconLoadingDelegate.h" |
41 #import "LegacySessionStateCoding.h" | 41 #import "LegacySessionStateCoding.h" |
42 #import "Logging.h" | 42 #import "Logging.h" |
43 #import "NavigationState.h" | 43 #import "NavigationState.h" |
44 #import "ObjCObjectGraph.h" | 44 #import "ObjCObjectGraph.h" |
45 #import "RemoteLayerTreeScrollingPerformanceData.h" | 45 #import "RemoteLayerTreeScrollingPerformanceData.h" |
46 #import "RemoteLayerTreeTransaction.h" | 46 #import "RemoteLayerTreeTransaction.h" |
47 #import "RemoteObjectRegistry.h" | 47 #import "RemoteObjectRegistry.h" |
48 #import "RemoteObjectRegistryMessages.h" | 48 #import "RemoteObjectRegistryMessages.h" |
| 49 #import "SafeBrowsingContextProvider.h" |
49 #import "UIDelegate.h" | 50 #import "UIDelegate.h" |
50 #import "UserMediaProcessManager.h" | 51 #import "UserMediaProcessManager.h" |
51 #import "VersionChecks.h" | 52 #import "VersionChecks.h" |
52 #import "ViewGestureController.h" | 53 #import "ViewGestureController.h" |
53 #import "ViewSnapshotStore.h" | 54 #import "ViewSnapshotStore.h" |
54 #import "WKBackForwardListInternal.h" | 55 #import "WKBackForwardListInternal.h" |
55 #import "WKBackForwardListItemInternal.h" | 56 #import "WKBackForwardListItemInternal.h" |
56 #import "WKBrowsingContextHandleInternal.h" | 57 #import "WKBrowsingContextHandleInternal.h" |
57 #import "WKDragDestinationAction.h" | 58 #import "WKDragDestinationAction.h" |
58 #import "WKErrorInternal.h" | 59 #import "WKErrorInternal.h" |
(...skipping 6353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6412 return NO; | 6413 return NO; |
6413 return _gestureController->completeSimulatedSwipeInDirectionForTesting(WebKi
t::ViewGestureController::SwipeDirection::Back); | 6414 return _gestureController->completeSimulatedSwipeInDirectionForTesting(WebKi
t::ViewGestureController::SwipeDirection::Back); |
6414 #endif | 6415 #endif |
6415 } | 6416 } |
6416 | 6417 |
6417 - (void)_setDefersLoadingForTesting:(BOOL)defersLoading | 6418 - (void)_setDefersLoadingForTesting:(BOOL)defersLoading |
6418 { | 6419 { |
6419 _page->setDefersLoadingForTesting(defersLoading); | 6420 _page->setDefersLoadingForTesting(defersLoading); |
6420 } | 6421 } |
6421 | 6422 |
| 6423 - (void)_setUseTestSafeBrowsingContext:(BOOL)useTestSafeBrowsingContext |
| 6424 { |
| 6425 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IO
S) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) |
| 6426 WebKit::SafeBrowsingContextProvider::setUseTestContext(useTestSafeBrowsingCo
ntext); |
| 6427 #endif |
| 6428 } |
| 6429 |
6422 - (void)_denyNextUserMediaRequest | 6430 - (void)_denyNextUserMediaRequest |
6423 { | 6431 { |
6424 #if ENABLE(MEDIA_STREAM) | 6432 #if ENABLE(MEDIA_STREAM) |
6425 WebKit::UserMediaProcessManager::singleton().denyNextUserMediaRequest(); | 6433 WebKit::UserMediaProcessManager::singleton().denyNextUserMediaRequest(); |
6426 #endif | 6434 #endif |
6427 } | 6435 } |
6428 @end | 6436 @end |
6429 | 6437 |
6430 | 6438 |
6431 #if ENABLE(FULLSCREEN_API) && PLATFORM(IOS) | 6439 #if ENABLE(FULLSCREEN_API) && PLATFORM(IOS) |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6553 } | 6561 } |
6554 | 6562 |
6555 - (void)_setFormDelegate:(id <_WKInputDelegate>)formDelegate | 6563 - (void)_setFormDelegate:(id <_WKInputDelegate>)formDelegate |
6556 { | 6564 { |
6557 self._inputDelegate = formDelegate; | 6565 self._inputDelegate = formDelegate; |
6558 } | 6566 } |
6559 | 6567 |
6560 @end | 6568 @end |
6561 | 6569 |
6562 #endif // WK_API_ENABLED | 6570 #endif // WK_API_ENABLED |
LEFT | RIGHT |