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

Unified Diff: ash/common/system/tray/tray_item_view.h

Issue 2455183002: Simplify layout of tray items and fix spacing for MD. (Closed)
Patch Set: tda review Created 4 years, 2 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/common/system/tray/tray_image_item.cc ('k') | ash/common/system/tray/tray_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_item_view.h
diff --git a/ash/common/system/tray/tray_item_view.h b/ash/common/system/tray/tray_item_view.h
index aa21ef9f040ccd17b711c6804e114d02e5a9a28d..a590a8cebb4b53e440a7a52cbe93888a24ef9e0b 100644
--- a/ash/common/system/tray/tray_item_view.h
+++ b/ash/common/system/tray/tray_item_view.h
@@ -53,12 +53,6 @@ class ASH_EXPORT TrayItemView : public views::View,
// changes.
void ApplyChange();
- // This should return the desired size of the view. For most views, this
- // returns GetPreferredSize. But since this class overrides GetPreferredSize
- // for animation purposes, we allow a different way to get this size, and do
- // not allow GetPreferredSize to be overridden.
- virtual gfx::Size DesiredSize() const;
-
// The default animation duration is 200ms. But each view can customize this.
virtual int GetAnimationDurationMS();
« no previous file with comments | « ash/common/system/tray/tray_image_item.cc ('k') | ash/common/system/tray/tray_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698