Index: ui/base/resource/resource_bundle_android.h |
diff --git a/ui/base/resource/resource_bundle_android.h b/ui/base/resource/resource_bundle_android.h |
index c558ad34f7174f5d4c2535c85b1ac54f7bbd500b..2123eb053d809efe3a64757eae036dee4e484cab 100644 |
--- a/ui/base/resource/resource_bundle_android.h |
+++ b/ui/base/resource/resource_bundle_android.h |
@@ -41,6 +41,10 @@ UI_BASE_EXPORT void SetLocalePaksStoredInApk(bool value); |
UI_BASE_EXPORT std::string GetPathForAndroidLocalePakWithinApk( |
const std::string& locale); |
+// Get the density of the primary display. Use this instead of using Display |
+// to avoid initializing Display in child processes. |
+float GetPrimaryDisplayScale(); |
+ |
} // namespace ui |
#endif // UI_BASE_RESOURCE_RESOURCE_BUNDLE_ANDROID_H_ |