Index: Source/web/WebViewImpl.h |
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h |
index 6805eb4d94d71579e75a11be0f7d8343273d2451..9b3dbec70bc60dac835b1d59090cc8ec4bbdd529 100644 |
--- a/Source/web/WebViewImpl.h |
+++ b/Source/web/WebViewImpl.h |
@@ -67,7 +67,6 @@ class DataObject; |
class Frame; |
class FullscreenController; |
class LinkHighlight; |
-class PopupContainer; |
class RenderLayerCompositor; |
class UserGestureToken; |
class WebActiveGestureAnimation; |
@@ -406,8 +405,6 @@ public: |
const WebPoint& dragImageOffset); |
// Notification that a popup was opened/closed. |
- void popupOpened(PopupContainer*); |
- void popupClosed(PopupContainer*); |
PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView); |
void closePagePopup(PagePopup*); |
LocalDOMWindow* pagePopupWindow() const; |
@@ -429,8 +426,7 @@ public: |
virtual void setVisibilityState(WebPageVisibilityState, bool) override; |
- PopupContainer* selectPopup() const { return m_selectPopup.get(); } |
- bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } |
+ bool hasOpenedPopup() const { return m_pagePopup; } |
// Returns true if the event leads to scrolling. |
static bool mapKeyCodeForScroll( |
@@ -558,8 +554,6 @@ private: |
// Returns true if the view was scrolled. |
bool scrollViewWithKeyboard(int keyCode, int modifiers); |
- void hideSelectPopup(); |
- |
// Converts |pos| from window coordinates to contents coordinates and gets |
// the HitTestResult for it. |
HitTestResult hitTestResultForWindowPos(const IntPoint&); |
@@ -689,9 +683,6 @@ private: |
// current drop target in this WebView (the drop target can accept the drop). |
WebDragOperation m_dragOperation; |
- // The popup associated with a select element. |
- RefPtrWillBePersistent<PopupContainer> m_selectPopup; |
- |
// The popup associated with an input element. |
RefPtr<WebPagePopupImpl> m_pagePopup; |