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

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

Issue 13925006: Declares GetHeightForWidth() for those who need it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « ash/system/power/power_status_view.h ('k') | ash/system/tray/hover_highlight_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/power/power_status_view.cc
diff --git a/ash/system/power/power_status_view.cc b/ash/system/power/power_status_view.cc
index a268d3a2c147da7a859dec0712f10072fc28fe42..78409aefe6f793644630d8eea1195a007d053cbb 100644
--- a/ash/system/power/power_status_view.cc
+++ b/ash/system/power/power_status_view.cc
@@ -290,6 +290,10 @@ gfx::Size PowerStatusView::GetPreferredSize() {
return gfx::Size(size.width(), kTrayPopupItemHeight);
}
+int PowerStatusView::GetHeightForWidth(int width) {
+ return kTrayPopupItemHeight;
+}
+
void PowerStatusView::Layout() {
views::View::Layout();
« no previous file with comments | « ash/system/power/power_status_view.h ('k') | ash/system/tray/hover_highlight_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698