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

Unified Diff: ui/gfx/display.h

Issue 1426933002: Refactor Windows DPI Point, Rect, and Size for Multiple Monitor DPI Awareness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Other Unit Tests - Moved Inner Classes Outside Created 4 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 c6df7e703ad54dba04977ee2ce6ed1a6d9df791a..1acb22ded7f4eb600da3eaa0bb2368255533156e 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -21,6 +21,8 @@ namespace gfx {
// system. For platforms that support DIP (density independent pixel),
// |bounds()| and |work_area| will return values in DIP coordinate
// system, not in backing pixels.
+//
+// Display is designed to be copied, so don't inherit from this class!
oshima 2016/01/21 17:47:44 can you make the class final instead? I believe it
robliao 2016/01/21 18:19:20 Will do! That can be a separate CL too.
class GFX_EXPORT Display {
public:
// Screen Rotation in clock-wise degrees.
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/gfx.gyp » ('j') | ui/wm/core/default_screen_position_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698