Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2269173002: [ios] Removed checkLinkPresenceUnderGesture API as unused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index 516374bb17f410c6e94c5dd71dafcd5349b51b74..40b23e907dc1fcfda56b0b8e6d2e9013e6293a8e 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -1298,17 +1298,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
_webStateImpl = nullptr;
}
-- (void)checkLinkPresenceUnderGesture:(UIGestureRecognizer*)gestureRecognizer
- completionHandler:(void (^)(BOOL))completionHandler {
- CGPoint webViewPoint = [gestureRecognizer locationInView:_webView];
- base::WeakNSObject<CRWWebController> weakSelf(self);
- [self fetchDOMElementAtPoint:webViewPoint
- completionHandler:^(NSDictionary* element) {
- BOOL hasLink = [element[@"href"] length];
- completionHandler(hasLink);
- }];
-}
-
- (void)setDOMElementForLastTouch:(NSDictionary*)element {
_DOMElementForLastTouch.reset([element copy]);
}
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698