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

Unified Diff: ash/common/system/chromeos/audio/volume_view.h

Issue 2485353002: Fix the volume strength icon to reflect the volume control clicks (Closed)
Patch Set: address comments Created 4 years, 1 month 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
« no previous file with comments | « no previous file | ash/common/system/chromeos/audio/volume_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/volume_view.h
diff --git a/ash/common/system/chromeos/audio/volume_view.h b/ash/common/system/chromeos/audio/volume_view.h
index e5dfdd6d7db50506e677ddae1a49f4e8a46086d9..1fe28fcff6b76dc7d743035764e17c93fdf4ebe1 100644
--- a/ash/common/system/chromeos/audio/volume_view.h
+++ b/ash/common/system/chromeos/audio/volume_view.h
@@ -46,8 +46,8 @@ class VolumeView : public views::View,
private:
// Updates device_type_ icon and more_ button.
void UpdateDeviceTypeAndMore();
- void HandleVolumeUp(float percent);
- void HandleVolumeDown(float percent);
+ void HandleVolumeUp(int percent);
+ void HandleVolumeDown(int percent);
// SliderListener:
void SliderValueChanged(views::Slider* sender,
« no previous file with comments | « no previous file | ash/common/system/chromeos/audio/volume_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698