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

Unified Diff: ui/gfx/monitor.h

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable tests that doesn't run on bots Created 8 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 | « ui/gfx/insets_f.h ('k') | ui/gfx/monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/monitor.h
diff --git a/ui/gfx/monitor.h b/ui/gfx/monitor.h
index ab6677a5c45cfd0993e0c9d9d6d91855bff9225d..03d757f6fa8e49183de08319cfd348894e5686c0 100644
--- a/ui/gfx/monitor.h
+++ b/ui/gfx/monitor.h
@@ -14,10 +14,9 @@
namespace gfx {
// Note: The screen and monitor currently uses pixel coordinate
-// system. With ENABLE_DIP macro (which is enabled with enable_dip=1
-// gyp flag), |bounds()| and |work_area| will return values in DIP
-// coordinate system, not in backing pixels.
-// TODO(oshima): Update the comment when ENABLE_DIP macro is removed.
+// system. For platforms that support DIP (density independent pixel),
+// |bounds()| and |work_area| will return values in DIP coordinate
+// system, not in backing pixels.
class UI_EXPORT Monitor {
public:
// Returns the default value for the device scale factor, which is
« no previous file with comments | « ui/gfx/insets_f.h ('k') | ui/gfx/monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698