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

Unified Diff: ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc

Issue 127453002: Enable the DesktopAuraTopLevelOwnedPopupResizeTest test for Linux AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 | « no previous file | ui/views/widget/widget_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
===================================================================
--- ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (revision 243629)
+++ ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (working copy)
@@ -355,8 +355,10 @@
}
void DesktopWindowTreeHostX11::SetSize(const gfx::Size& size) {
- // TODO(erg):
- NOTIMPLEMENTED();
+ bool size_changed = bounds_.size() != size;
+ XResizeWindow(xdisplay_, xwindow_, size.width(), size.height());
+ if (size_changed)
+ NotifyHostResized(size);
}
void DesktopWindowTreeHostX11::StackAtTop() {
« no previous file with comments | « no previous file | ui/views/widget/widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698