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

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

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Small feedback 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 09b1894fba73c373b9229ebb8ed971fe4ff5575a..72501650ad2785b75235b85042edbf74f284a742 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();
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698