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

Unified Diff: ui/gfx/display.h

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Win compilation take 2 + rebase Created 7 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
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 8b3f346902b7b9501fd2acf3ca7d662486c2c95c..58c9133e9a5cdae8794edd99f123cc36562cac73 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -89,8 +89,9 @@ class UI_EXPORT Display {
gfx::Size GetSizeInPixel() const;
#if defined(USE_AURA)
- // TODO(oshima|skuhne): Eliminate the use of bounds_in_pixel in events_x.cc
- // and remove bounds_in_pixel from gfx::Display.
+ // TODO(oshima|skuhne): bounds_in_pixel is no longer used in events_x.cc,
+ // bounds_in_pixel can now be removed from gfx::Display.
+ // (Some care needs to be taken in SetSize and SetScaleAndBounds).
// Returns the display's bounds in pixel coordinates.
const Rect& bounds_in_pixel() const { return bounds_in_pixel_; }
#endif

Powered by Google App Engine
This is Rietveld 408576698