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: extensions/shell/browser/shell_desktop_controller_aura.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win Created 4 years, 1 month 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 | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/mus/drag_drop_controller_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_desktop_controller_aura.cc
diff --git a/extensions/shell/browser/shell_desktop_controller_aura.cc b/extensions/shell/browser/shell_desktop_controller_aura.cc
index 2583a4011e3472cb4ecab6bf4b9ed3fb5008ea2e..c419215f2d3173a2bf01fb875b603103d867f4da 100644
--- a/extensions/shell/browser/shell_desktop_controller_aura.cc
+++ b/extensions/shell/browser/shell_desktop_controller_aura.cc
@@ -259,7 +259,7 @@ void ShellDesktopControllerAura::OnDisplayModeChanged(
const ui::DisplayConfigurator::DisplayStateList& displays) {
gfx::Size size = GetPrimaryDisplaySize();
if (!size.IsEmpty())
- host_->UpdateRootWindowSize(size);
+ host_->UpdateRootWindowSizeInPixels(size);
}
#endif
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/mus/drag_drop_controller_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698