Chromium Code Reviews| Index: chrome/common/extensions/api/settings_private.idl |
| diff --git a/chrome/common/extensions/api/settings_private.idl b/chrome/common/extensions/api/settings_private.idl |
| index 815cf61082a5f8798700d55394e38d3dd94ddffc..287f1d1fedb5ee9d85a22d38e2a4ef0dc870c454 100644 |
| --- a/chrome/common/extensions/api/settings_private.idl |
| +++ b/chrome/common/extensions/api/settings_private.idl |
| @@ -57,7 +57,7 @@ namespace settingsPrivate { |
| callback OnPrefSetCallback = void (boolean success); |
| callback GetAllPrefsCallback = void (PrefObject[] prefs); |
| callback GetPrefCallback = void (PrefObject pref); |
| - callback GetDefaultZoomPercentCallback = void (long percent); |
| + callback GetDefaultZoomPercentCallback = void (double percent); |
| callback SetDefaultZoomPercentCallback = void (boolean success); |
| interface Functions { |
| @@ -79,7 +79,7 @@ namespace settingsPrivate { |
| static void getDefaultZoomPercent(GetDefaultZoomPercentCallback callback); |
| // Sets the page zoom factor from a zoom percentage. |
| - static void setDefaultZoomPercent(long percent, |
| + static void setDefaultZoomPercent(double percent, |
|
michaelpg
2016/10/17 08:46:08
that is not how percents work... a percent would b
Devlin
2016/10/17 14:51:12
+1
|
| optional SetDefaultZoomPercentCallback callback); |
| }; |