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

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

Issue 2369293002: Set status tray height to 37px on login screen (Closed)
Patch Set: Created 4 years, 3 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/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 fc38217098c7f02d724500cff2a746746302b1fe..41d5dbbedaa502c15709564ac9bf43018a9319a2 100644
--- a/ash/common/system/tray/tray_background_view.h
+++ b/ash/common/system/tray/tray_background_view.h
@@ -43,7 +43,7 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
void set_size(const gfx::Size& size) { size_ = size; }
- void SetMargin(const gfx::Insets& margin);
+ void SetMargin(int main_axis_margin, int cross_axis_margin);
// views::View:
gfx::Size GetPreferredSize() const override;
@@ -60,7 +60,8 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
ShelfAlignment alignment_;
gfx::Size size_;
- gfx::Insets margin_;
+ int main_axis_margin_ = 0;
+ int cross_axis_margin_ = 0;
DISALLOW_COPY_AND_ASSIGN(TrayContainer);
};
« no previous file with comments | « no previous file | ash/common/system/tray/tray_background_view.cc » ('j') | ash/shelf/shelf_layout_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698