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

Unified Diff: ui/gfx/display.cc

Issue 10696002: ASH: Use virtual screen coordinates in Display::bounds() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 6 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 | « ui/gfx/display.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.cc
diff --git a/ui/gfx/display.cc b/ui/gfx/display.cc
index 110fe6e0edc4ddb6a211f5a4a8312594e524ddeb..6a8bb85fcb75736dc08dfd844d2c2bd8eafa7a6a 100644
--- a/ui/gfx/display.cc
+++ b/ui/gfx/display.cc
@@ -78,9 +78,6 @@ void Display::SetScaleAndBounds(
#if defined(USE_AURA)
bounds_in_pixel_ = bounds_in_pixel;
#endif
- // TODO(oshima): For m19, work area/display bounds that chrome/webapps sees
- // has (0, 0) origin because it's simpler and enough. Fix this when
- // real multi display support is implemented.
bounds_ = gfx::Rect(
bounds_in_pixel.size().Scale(1.0f / device_scale_factor_));
UpdateWorkAreaFromInsets(insets);
« no previous file with comments | « ui/gfx/display.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698