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

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: Rebase again 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
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 779959c35e6b69ba7ca3dcac8bafbb9ba501d744..c6ab723b7cc5e1f3cb787eaf29c70fde6c7ea036 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)
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698