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

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 562513004: Remove FramelessScrollView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Windows build. Created 6 years, 3 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
« no previous file with comments | « Source/web/WebPopupMenuImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index 5a07cfda3b610f2256a1fd810d23448017bffed2..6208a7985a34f1e948cd265f2d53e76190f44cf0 100644
--- a/Source/web/WebPopupMenuImpl.cpp
+++ b/Source/web/WebPopupMenuImpl.cpp
@@ -41,7 +41,6 @@
#include "platform/geometry/IntRect.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/skia/SkiaUtils.h"
-#include "platform/scroll/FramelessScrollView.h"
#include "public/platform/Platform.h"
#include "public/platform/WebCompositorSupport.h"
#include "public/platform/WebContentLayer.h"
@@ -89,7 +88,7 @@ void WebPopupMenuImpl::willCloseLayerTreeView()
m_layerTreeView = 0;
}
-void WebPopupMenuImpl::initialize(FramelessScrollView* widget, const WebRect& bounds)
+void WebPopupMenuImpl::initialize(PopupContainer* widget, const WebRect& bounds)
{
m_widget = widget;
m_widget->setClient(this);
@@ -397,10 +396,7 @@ WebScreenInfo WebPopupMenuImpl::screenInfo() const
return WebScreenInfo();
}
-//-----------------------------------------------------------------------------
-// FramelessScrollViewClient
-
-void WebPopupMenuImpl::popupClosed(FramelessScrollView* widget)
+void WebPopupMenuImpl::popupClosed(PopupContainer* widget)
{
ASSERT(widget == m_widget);
if (m_widget) {
« no previous file with comments | « Source/web/WebPopupMenuImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698