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

Unified Diff: mojo/services/kiosk_wm/kiosk_wm.cc

Issue 1065433002: Simplify some mojo_shell code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | mojo/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/kiosk_wm/kiosk_wm.cc
diff --git a/mojo/services/kiosk_wm/kiosk_wm.cc b/mojo/services/kiosk_wm/kiosk_wm.cc
index 9aa2aab2b8badcb1cb986f02e51fb53ec91e2fe7..28b5b5ebf09c4b6743bec8781d8221a9a7a5dcd4 100644
--- a/mojo/services/kiosk_wm/kiosk_wm.cc
+++ b/mojo/services/kiosk_wm/kiosk_wm.cc
@@ -55,8 +55,7 @@ void KioskWM::OnEmbed(
root_ = root;
root_->AddObserver(this);
cpu_(ooo_6.6-7.5) 2015/04/06 20:43:48 ifdef(os_win) ? I mean keep both sizes
jam 2015/04/06 22:02:51 this is only used on desktop, so it's not hit on a
sky 2015/04/08 19:17:46 Actually, we do use this on the device as well. I
jam 2015/04/10 01:29:55 ah I was mistaken, thanks for clarifying. I'll und
- // Resize to match the Nexus 5 aspect ratio:
- window_manager_app_->SetViewportSize(gfx::Size(320, 640));
+ window_manager_app_->SetViewportSize(gfx::Size(1280, 800));
content_ = root->view_manager()->CreateView();
content_->SetBounds(root_->bounds());
« no previous file with comments | « no previous file | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698