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

Unified Diff: sky/engine/web/ChromeClientImpl.cpp

Issue 925933004: Prune HitTestResult and stop special-casing links. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 5 years, 10 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 | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/WebHitTestResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/ChromeClientImpl.cpp
diff --git a/sky/engine/web/ChromeClientImpl.cpp b/sky/engine/web/ChromeClientImpl.cpp
index 417147d4136cb94f976c9f49b00e974879770e97..b89bb072a95c5ea03432ac1b3ea0c232ffde1262 100644
--- a/sky/engine/web/ChromeClientImpl.cpp
+++ b/sky/engine/web/ChromeClientImpl.cpp
@@ -129,11 +129,6 @@ void ChromeClientImpl::takeFocus(FocusType type)
void ChromeClientImpl::focusedNodeChanged(Node* node)
{
m_webView->client()->focusedNodeChanged(WebNode(node));
-
- WebURL focusURL;
- if (node && node->isElementNode() && toElement(node)->isLiveLink())
- focusURL = toElement(node)->hrefURL();
- m_webView->client()->setKeyboardFocusURL(focusURL);
}
void ChromeClientImpl::focusedFrameChanged(LocalFrame* frame)
« no previous file with comments | « sky/engine/web/BUILD.gn ('k') | sky/engine/web/WebHitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698