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

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

Issue 10809008: Make spacing between uber tray items consistent with UI spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/system/tray/tray_item_view.h
diff --git a/ash/system/tray/tray_item_view.h b/ash/system/tray/tray_item_view.h
index f5fa8afdbb1551b8b7f52bb55a6740981c29b697..2eb0fad1dd1c3f35991f86d3e5426decec5fbca6 100644
--- a/ash/system/tray/tray_item_view.h
+++ b/ash/system/tray/tray_item_view.h
@@ -29,7 +29,7 @@ class TrayItemView : public views::View,
TrayItemView();
virtual ~TrayItemView();
- // Conveniece function for creating a child Label or ImageView.
+ // Convenience function for creating a child Label or ImageView.
void CreateLabel();
void CreateImageView();
@@ -38,6 +38,8 @@ class TrayItemView : public views::View,
// Overridden from views::View.
virtual void SetVisible(bool visible) OVERRIDE;
+ virtual gfx::Size GetPreferredSize() OVERRIDE;
+
sadrul 2012/07/19 16:46:28 -extra new line
jennyz 2012/07/19 18:33:33 Done.
protected:
// Makes sure the widget relayouts after the size/visibility of the view
@@ -55,7 +57,6 @@ class TrayItemView : public views::View,
private:
// Overridden from views::View.
- virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
// Overridden from ui::AnimationDelegate.

Powered by Google App Engine
This is Rietveld 408576698