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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build fix Created 5 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: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index ec7aa940bed3db6c6a5574f94764cef2b14bfbae..b38e3ec160822481d30bfc1f93cb7607499b1842 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -498,9 +498,9 @@ void ChromeClientImpl::scheduleAnimationForFrame(LocalFrame* localRoot)
WebLocalFrameImpl::fromFrame(localRoot)->frameWidget()->scheduleAnimation();
}
-IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
+IntRect ChromeClientImpl::viewportToScreen(const IntRect& rectInViewport) const
{
- IntRect screenRect(rect);
+ IntRect screenRect(rectInViewport);
if (m_webView->client()) {
WebRect windowRect = m_webView->client()->windowRect();
@@ -755,9 +755,9 @@ PassRefPtrWillBeRawPtr<PopupMenu> ChromeClientImpl::createPopupMenu(LocalFrame&
return adoptRefWillBeNoop(new PopupMenuChromium(frame, client));
}
-PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView)
+PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client)
{
- return m_webView->openPagePopup(client, originBoundsInRootView);
+ return m_webView->openPagePopup(client);
}
void ChromeClientImpl::closePagePopup(PagePopup* popup)

Powered by Google App Engine
This is Rietveld 408576698