[meta][WebKit] Remove using namespace WebCore and WebKit in the global scope for...
[WebKit-https.git] / Source / WebKit / UIProcess / ios / WKContentViewInteraction.mm
index b806fa4..026f1f7 100644 (file)
@@ -4779,9 +4779,9 @@ static bool isAssistableInputType(WebKit::InputType type)
 #endif
         return nil;
     case WebKit::InputType::Search:
-        return formControlSearchButtonTitle();
+        return WebCore::formControlSearchButtonTitle();
     default:
-        return formControlGoButtonTitle();
+        return WebCore::formControlGoButtonTitle();
     }
 }
 
@@ -5894,7 +5894,7 @@ static NSArray<NSItemProvider *> *extractItemProvidersFromDropSession(id <UIDrop
 
     auto proposal = adoptNS([[UIDropProposal alloc] initWithDropOperation:static_cast<UIDropOperation>(operation)]);
     auto dragHandlingMethod = _page->currentDragHandlingMethod();
-    [proposal setPrecise:dragHandlingMethod == DragHandlingMethod::EditPlainText || dragHandlingMethod == DragHandlingMethod::EditRichText];
+    [proposal setPrecise:dragHandlingMethod == WebCore::DragHandlingMethod::EditPlainText || dragHandlingMethod == WebCore::DragHandlingMethod::EditRichText];
     if ([delegate respondsToSelector:@selector(_webView:willUpdateDropProposalToProposal:forSession:)])
         proposal = [delegate _webView:_webView willUpdateDropProposalToProposal:proposal.get() forSession:session];
 
@@ -6201,7 +6201,7 @@ static NSArray<NSItemProvider *> *extractItemProvidersFromDropSession(id <UIDrop
     }
 
     auto event = adoptNS([[::WebEvent alloc] initWithMouseEventType:WebEventMouseMoved timeStamp:timestamp location:point]);
-    _page->handleMouseEvent(NativeWebMouseEvent(event.get()));
+    _page->handleMouseEvent(WebKit::NativeWebMouseEvent(event.get()));
 }
 #endif