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

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

Issue 2461693003: MD cros - Fix padding in system tray (Closed)
Patch Set: nit + rebase Created 4 years, 1 month 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/system_tray.cc ('k') | ash/common/system/tray/tray_background_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_background_view.h
diff --git a/ash/common/system/tray/tray_background_view.h b/ash/common/system/tray/tray_background_view.h
index 4932427c45d3dcb982aaad57535f7843cdbeea44..cb22ed649c3838b98a402bd197f156133da76f4f 100644
--- a/ash/common/system/tray/tray_background_view.h
+++ b/ash/common/system/tray/tray_background_view.h
@@ -41,13 +41,8 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
void SetAlignment(ShelfAlignment alignment);
- void set_size(const gfx::Size& size) { size_ = size; }
-
void SetMargin(int main_axis_margin, int cross_axis_margin);
- // views::View:
- gfx::Size GetPreferredSize() const override;
-
protected:
// views::View:
void ChildPreferredSizeChanged(views::View* child) override;
@@ -59,7 +54,6 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
void UpdateLayout();
ShelfAlignment alignment_;
- gfx::Size size_;
int main_axis_margin_ = 0;
int cross_axis_margin_ = 0;
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698