Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8299)

Unified Diff: chrome/common/extensions/api/settings_private.idl

Issue 2422603003: MD Settings: handle zoom as floats to fix ghost zoom level issue (Closed)
Patch Set: todo Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698