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

Unified Diff: mandoline/ui/aura/screen_mojo.cc

Issue 1133893003: Omnibox app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 | « mandoline/ui/BUILD.gn ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/aura/screen_mojo.cc
diff --git a/mandoline/ui/aura/screen_mojo.cc b/mandoline/ui/aura/screen_mojo.cc
index 65cc23565be48e7c1964ad697afeeb5c6195f002..b15a68e7f2534ceb53c1c298e19254ce4bf21fa3 100644
--- a/mandoline/ui/aura/screen_mojo.cc
+++ b/mandoline/ui/aura/screen_mojo.cc
@@ -11,7 +11,9 @@ namespace mandoline {
// static
ScreenMojo* ScreenMojo::Create() {
- return new ScreenMojo(gfx::Rect(0, 0, 800, 600));
+ // TODO(beng): this is bogus & should be derived from the native viewport's
+ // client area. https://crbug.com/487340
+ return new ScreenMojo(gfx::Rect(1280, 800));
}
ScreenMojo::~ScreenMojo() {
« no previous file with comments | « mandoline/ui/BUILD.gn ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698