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

Unified Diff: ash/common/system/chromeos/power/power_status_view.h

Issue 2774093002: Change PowerStatus::GetBatteryImage to not use ExtractImageRep and scale (Closed)
Patch Set: powericon: removedeadunittestcode Created 3 years, 9 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: ash/common/system/chromeos/power/power_status_view.h
diff --git a/ash/common/system/chromeos/power/power_status_view.h b/ash/common/system/chromeos/power/power_status_view.h
index 1cd5cee9ac3bdda601bdbc68555687badb33f699..75b95f508cdbca7ddfaf5e326249f5211045754f 100644
--- a/ash/common/system/chromeos/power/power_status_view.h
+++ b/ash/common/system/chromeos/power/power_status_view.h
@@ -12,7 +12,6 @@
#include "ui/views/view.h"
namespace views {
-class ImageView;
class Label;
}
@@ -48,13 +47,6 @@ class ASH_EXPORT PowerStatusView : public views::View,
views::Label* separator_label_;
views::Label* time_status_label_;
- // Battery status indicator icon. Unused in material design.
- views::ImageView* icon_;
-
- // Information about the image last used to update |icon_|. Cached to avoid
- // unnecessary updates (http://crbug.com/589348).
- PowerStatus::BatteryImageInfo previous_battery_image_info_;
-
// Only used in material design.
base::string16 accessible_name_;
« no previous file with comments | « ash/common/system/chromeos/power/power_status_unittest.cc ('k') | ash/common/system/chromeos/power/power_status_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698