Index: ui/base/resource/resource_bundle.cc |
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc |
index f9c5d6970969f3ae4926c1011d02a4eb816c1346..d9a42e28740deba5f69290639042b6ee94f8494e 100644 |
--- a/ui/base/resource/resource_bundle.cc |
+++ b/ui/base/resource/resource_bundle.cc |
@@ -573,6 +573,10 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) { |
#elif defined(OS_CHROMEOS) |
// TODO(oshima): Include 200P only if the device support 200P |
supported_scale_factors.push_back(SCALE_FACTOR_200P); |
+#elif defined(OS_LINUX) && defined(USE_AURA) |
+ // Provide same UX as on Win desktops. |
+ supported_scale_factors.push_back(SCALE_FACTOR_140P); |
+ supported_scale_factors.push_back(SCALE_FACTOR_180P); |
oshima
2013/10/22 05:35:10
FYI: These scale factors will use 200P assets with
Elliot Glaysher
2013/10/22 17:40:18
IIRC, there are only a few assets that linux_aura
Mikhail
2013/10/23 17:15:02
Should it be a stopper for this CL?
Elliot Glaysher
2013/10/23 17:51:19
It shouldn't block the patch, but it should (possi
oshima
2013/10/23 18:10:59
sg
|
#endif |
ui::SetSupportedScaleFactors(supported_scale_factors); |
#if defined(OS_WIN) |