Descriptionbase: Move UI code out of SysInfo.
This moves GetPrimaryDisplayDimensions() and DisplayCount()
out of base and into a new DisplayUtils class (currently
alongside the metrics code, since that's the only place that
they're called). These methods add a GDK dependency that
prevents Chrome OS from including process_util (which
depends on SysInfo) in its libchrome library.
BUG=chromium-os:16153
TEST=moved existing unit tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89194
Patch Set 1 #Patch Set 2 : change mac include #Patch Set 3 : remove DCHECKs :-( #Patch Set 4 : merge #
Total comments: 1
Patch Set 5 : move to display_utils.h/cc #Patch Set 6 : add #endif comment and remove cosmetic changes #
Total comments: 4
Patch Set 7 : back to unit tests #
Total comments: 8
Patch Set 8 : use MessageLoop::Quit() #Patch Set 9 : simplify testing code #
Messages
Total messages: 13 (0 generated)
|