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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.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/HTMLSelectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
index fe352c535ecfc9d2a09be45fb60f8816fffa66a6..63e0e8c8fffd0fefe6ca7e845d9ba19f02fca4a8 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
@@ -49,7 +49,6 @@
#include "core/events/KeyboardEvent.h"
#include "core/events/MouseEvent.h"
#include "core/events/ScopedEventQueue.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
#include "core/html/FormData.h"
@@ -1921,7 +1920,7 @@ void HTMLSelectElement::provisionalSelectionChanged(unsigned listIndex) {
void HTMLSelectElement::showPopup() {
if (popupIsVisible())
return;
- if (document().frameHost()->chromeClient().hasOpenedPopup())
+ if (document().page()->chromeClient().hasOpenedPopup())
return;
if (!layoutObject() || !layoutObject()->isMenuList())
return;
@@ -1929,7 +1928,7 @@ void HTMLSelectElement::showPopup() {
return;
if (!m_popup)
- m_popup = document().frameHost()->chromeClient().openPopupMenu(
+ m_popup = document().page()->chromeClient().openPopupMenu(
*document().frame(), *this);
m_popupIsVisible = true;
observeTreeMutation();
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698