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

Unified Diff: trunk/src/ash/display/display_controller.cc

Issue 133003002: Revert 244005 "Remove SetHostSize/Bounds from RootWindow in favo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | trunk/src/ash/display/mirror_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/display/display_controller.cc
===================================================================
--- trunk/src/ash/display/display_controller.cc (revision 244032)
+++ trunk/src/ash/display/display_controller.cc (working copy)
@@ -616,7 +616,7 @@
DCHECK(!display_info.bounds_in_native().IsEmpty());
aura::WindowEventDispatcher* dispatcher =
root_windows_[display.id()]->GetDispatcher();
- dispatcher->host()->SetBounds(display_info.bounds_in_native());
+ dispatcher->SetHostBounds(display_info.bounds_in_native());
SetDisplayPropertiesOnHostWindow(dispatcher, display);
}
@@ -632,7 +632,7 @@
GetDisplayManager()->GetDisplayInfo(display.id());
aura::WindowEventDispatcher* dispatcher =
root_windows_[display.id()]->GetDispatcher();
- dispatcher->host()->SetBounds(display_info.bounds_in_native());
+ dispatcher->SetHostBounds(display_info.bounds_in_native());
SetDisplayPropertiesOnHostWindow(dispatcher, display);
} else {
if (primary_display_id == gfx::Display::kInvalidDisplayID)
« no previous file with comments | « no previous file | trunk/src/ash/display/mirror_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698