| Index: ui/base/resource/resource_bundle.h
|
| diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
|
| index 809b1125159ef939b2cbddb450b36f9f7ed57da4..060ea6c51f563bfd388569c9ad6b9386caac15bc 100644
|
| --- a/ui/base/resource/resource_bundle.h
|
| +++ b/ui/base/resource/resource_bundle.h
|
| @@ -256,6 +256,10 @@ class UI_BASE_EXPORT ResourceBundle {
|
| // Returns SCALE_FACTOR_100P if no resource is loaded.
|
| ScaleFactor GetMaxScaleFactor() const;
|
|
|
| + protected:
|
| + // Returns true if |scale_factor| is supported by this platform.
|
| + static bool IsScaleFactorSupported(ScaleFactor scale_factor);
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(ResourceBundleTest, DelegateGetPathForLocalePack);
|
| FRIEND_TEST_ALL_PREFIXES(ResourceBundleTest, DelegateGetImageNamed);
|
|
|