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

Unified Diff: Source/WebCore/platform/chromium/PopupContainer.cpp

Issue 10264016: Merge 114513 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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/WebCore/platform/chromium/PopupContainer.h ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/chromium/PopupContainer.cpp
===================================================================
--- Source/WebCore/platform/chromium/PopupContainer.cpp (revision 115663)
+++ Source/WebCore/platform/chromium/PopupContainer.cpp (working copy)
@@ -407,7 +407,7 @@
showPopup(v);
}
-void PopupContainer::refresh(const IntRect& targetControlRect)
+IntRect PopupContainer::refresh(const IntRect& targetControlRect)
{
listBox()->setBaseWidth(max(m_originalFrameRect.width() - kBorderSize * 2, 0));
listBox()->updateFromElement();
@@ -423,14 +423,9 @@
if (size() != widgetRectInScreen.size())
resize(widgetRectInScreen.size());
- ChromeClientChromium* chromeClient = chromeClientChromium();
- if (chromeClient) {
- // Update the WebWidget location (which is relative to the screen origin).
- if (widgetRectInScreen != chromeClient->windowRect())
- chromeClient->setWindowRect(widgetRectInScreen);
- }
-
invalidate();
+
+ return widgetRectInScreen;
}
inline bool PopupContainer::isRTL() const
« no previous file with comments | « Source/WebCore/platform/chromium/PopupContainer.h ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698