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

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

Issue 2605513002: [ash-md] Changed the system info row height to 40 (instead of 48). (Closed)
Patch Set: Created 4 years 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 | « ash/common/system/chromeos/power/power_status_view.h ('k') | ash/common/system/date/date_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/power/power_status_view.cc
diff --git a/ash/common/system/chromeos/power/power_status_view.cc b/ash/common/system/chromeos/power/power_status_view.cc
index ea93054a9fbf027e26094a6c3c7e8b16a6725a40..ade3d0b021a93de634a267cd9a47af7e350aad20 100644
--- a/ash/common/system/chromeos/power/power_status_view.cc
+++ b/ash/common/system/chromeos/power/power_status_view.cc
@@ -155,15 +155,6 @@ void PowerStatusView::ChildPreferredSizeChanged(views::View* child) {
PreferredSizeChanged();
}
-gfx::Size PowerStatusView::GetPreferredSize() const {
- gfx::Size size = views::View::GetPreferredSize();
- return gfx::Size(size.width(), GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT));
-}
-
-int PowerStatusView::GetHeightForWidth(int width) const {
- return GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT);
-}
-
void PowerStatusView::Layout() {
views::View::Layout();
« no previous file with comments | « ash/common/system/chromeos/power/power_status_view.h ('k') | ash/common/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698