Index: chrome/browser/chromeos/setting_level_bubble_view.h |
diff --git a/chrome/browser/chromeos/setting_level_bubble_view.h b/chrome/browser/chromeos/setting_level_bubble_view.h |
index 6621e343c6edf87cbee644db562e76a1bca62198..3e1c6a90dc547d760bfb669447aa83a6b0841480 100644 |
--- a/chrome/browser/chromeos/setting_level_bubble_view.h |
+++ b/chrome/browser/chromeos/setting_level_bubble_view.h |
@@ -22,16 +22,16 @@ class SettingLevelBubbleView : public views::View { |
public: |
SettingLevelBubbleView(); |
- // Initialize the view, setting the progress bar to the specified level and |
- // state. Ownership of |icon| remains with the caller (it's probably a shared |
- // instance from ResourceBundle). |
- void Init(SkBitmap* icon, int level_percent, bool enabled); |
+ // Initialize the view, setting the progress bar to the specified level in the |
+ // range [0.0, 100.0] and state. Ownership of |icon| remains with the caller |
+ // (it's probably a shared instance from ResourceBundle). |
+ void Init(SkBitmap* icon, double level, bool enabled); |
// Change the icon that we're currently displaying. |
void SetIcon(SkBitmap* icon); |
// Set the progress bar to the specified level and redraw it. |
- void SetLevel(int level_percent); |
+ void SetLevel(double level); |
// Draw the progress bar in an enabled or disabled state. |
void SetEnabled(bool enabled); |