Chromium Code Reviews| 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; |
|
tdanderson
2016/10/27 19:28:01
Nice.
|
| - |
| // The default animation duration is 200ms. But each view can customize this. |
| virtual int GetAnimationDurationMS(); |