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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Rebase Created 3 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: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
index b1e9a3d4cd74ea1b70d664fa65e55a29357bf632..486be7370a988675c73f3177f719dff760a562a4 100644
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
@@ -27,7 +27,6 @@
#include "core/editing/EditingUtilities.h"
#include "core/events/KeyboardEvent.h"
#include "core/events/MouseEvent.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/LocalFrameClient.h"
#include "core/frame/Settings.h"
#include "core/frame/UseCounter.h"
@@ -37,6 +36,7 @@
#include "core/loader/FrameLoadRequest.h"
#include "core/loader/PingLoader.h"
#include "core/page/ChromeClient.h"
+#include "core/page/Page.h"
#include "platform/network/NetworkHints.h"
#include "platform/weborigin/SecurityPolicy.h"
#include "public/platform/WebNavigationHintType.h"
@@ -177,7 +177,7 @@ bool HTMLAnchorElement::isKeyboardFocusable() const {
if (isFocusable() && Element::supportsFocus())
return HTMLElement::isKeyboardFocusable();
- if (isLink() && !document().frameHost()->chromeClient().tabsToLinks())
+ if (isLink() && !document().page()->chromeClient().tabsToLinks())
return false;
return HTMLElement::isKeyboardFocusable();
}

Powered by Google App Engine
This is Rietveld 408576698