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

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: 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
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)

Powered by Google App Engine
This is Rietveld 408576698