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

Unified Diff: components/exo/shell_surface.cc

Issue 2862173004: exo: Revert workaround for multi-display ARC (Closed)
Patch Set: Rebase Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index 5769513b161f987698d31cc0a0f66374949083b5..d1a5ba2222e9fcc2df95e051d5c4bb0d535ef00b 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -1481,9 +1481,7 @@ void ShellSurface::UpdateWidgetBounds() {
const gfx::Rect widget_bounds = widget_->GetWindowBoundsInScreen();
if (widget_bounds != new_widget_bounds) {
if (bounds_mode_ != BoundsMode::CLIENT || !resizer_) {
- // TODO(domlaskowski): Use screen coordinates once multi-display support
- // lands in ARC. See crbug.com/718627.
- widget_->GetNativeWindow()->SetBounds(new_widget_bounds);
+ widget_->SetBounds(new_widget_bounds);
UpdateSurfaceBounds();
} else {
// TODO(domlaskowski): Synchronize window state transitions with the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698