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

Unified Diff: Source/web/WebViewImpl.h

Issue 803943002: Remove old PopupContainer/PopupListBox popup menu Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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
« no previous file with comments | « Source/web/WebPopupMenuImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/web/WebPopupMenuImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698