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

Unified Diff: Source/web/WebPagePopupImpl.cpp

Issue 603883002: Remove default args to several PageWidgetDelegate members. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Android 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/PageWidgetDelegate.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/WebPagePopupImpl.cpp
diff --git a/Source/web/WebPagePopupImpl.cpp b/Source/web/WebPagePopupImpl.cpp
index 0d3cb7acc7713fbb79f6a1be9e2893df4e996de2..bf001cf9b4cb0cb2ae4dfe88493d227d9ddef551 100644
--- a/Source/web/WebPagePopupImpl.cpp
+++ b/Source/web/WebPagePopupImpl.cpp
@@ -323,7 +323,7 @@ void WebPagePopupImpl::beginFrame(const WebBeginFrameArgs& frameTime)
{
// FIXME: This should use frameTime.lastFrameTimeMonotonic but doing so
// breaks tests.
- PageWidgetDelegate::animate(m_page.get(), monotonicallyIncreasingTime());
+ PageWidgetDelegate::animate(m_page.get(), monotonicallyIncreasingTime(), m_page->deprecatedLocalMainFrame());
}
void WebPagePopupImpl::willCloseLayerTreeView()
@@ -334,13 +334,13 @@ void WebPagePopupImpl::willCloseLayerTreeView()
void WebPagePopupImpl::layout()
{
- PageWidgetDelegate::layout(m_page.get());
+ PageWidgetDelegate::layout(m_page.get(), m_page->deprecatedLocalMainFrame());
}
void WebPagePopupImpl::paint(WebCanvas* canvas, const WebRect& rect)
{
if (!m_closing)
- PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque);
+ PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque, m_page->deprecatedLocalMainFrame());
}
void WebPagePopupImpl::resize(const WebSize& newSize)
@@ -379,7 +379,7 @@ bool WebPagePopupImpl::handleInputEvent(const WebInputEvent& event)
{
if (m_closing)
return false;
- return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, event);
+ return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, event, m_page->deprecatedLocalMainFrame());
}
bool WebPagePopupImpl::handleKeyEvent(const PlatformKeyboardEvent& event)
« no previous file with comments | « Source/web/PageWidgetDelegate.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698