Changeset 260846 in webkit
- Timestamp:
- Apr 28, 2020 2:31:34 PM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r260844 r260846 1 2020-04-28 Daniel Bates <dabates@apple.com> 2 3 Remove unused WebPage::focusTextInputContext() 4 https://bugs.webkit.org/show_bug.cgi?id=211135 5 6 Reviewed by Anders Carlsson. 7 8 I accidentally forgot to remove the WebPage message and WebPage implementation that 9 backed -_focusTextInputContext when I removed it in r260225. Now the implementation 10 is unused. Let's remove it. 11 12 * WebProcess/WebPage/WebPage.cpp: 13 (WebKit::WebPage::focusTextInputContext): Deleted. 14 * WebProcess/WebPage/WebPage.h: 15 * WebProcess/WebPage/WebPage.messages.in: 16 1 17 2020-04-28 Christopher Reid <chris.reid@sony.com> 2 18 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r260820 r260846 6933 6933 } 6934 6934 6935 void WebPage::focusTextInputContext(const WebCore::ElementContext& textInputContext, CompletionHandler<void(bool)>&& completionHandler)6936 {6937 auto element = elementForContext(textInputContext);6938 6939 if (element)6940 element->focus();6941 6942 completionHandler(element);6943 }6944 6945 6935 void WebPage::setCanShowPlaceholder(const WebCore::ElementContext& elementContext, bool canShowPlaceholder) 6946 6936 { -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.h
r260826 r260846 646 646 647 647 void textInputContextsInRect(WebCore::FloatRect, CompletionHandler<void(const Vector<WebCore::ElementContext>&)>&&); 648 void focusTextInputContext(const WebCore::ElementContext&, CompletionHandler<void(bool)>&&);649 648 void setCanShowPlaceholder(const WebCore::ElementContext&, bool); 650 649 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in
r260820 r260846 579 579 580 580 TextInputContextsInRect(WebCore::FloatRect rect) -> (Vector<struct WebCore::ElementContext> contexts) Async 581 FocusTextInputContext(struct WebCore::ElementContext context) -> (bool success) Async582 581 SetCanShowPlaceholder(struct WebCore::ElementContext context, bool canShowPlaceholder) 583 582
Note: See TracChangeset
for help on using the changeset viewer.