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

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

Issue 2243563002: Show small notification icons in notification tray (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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 905a083cc86d6abb9895e8576d2b2ef253960cb8..741417400d92b36e94da1bf267be46326569fde2 100644
--- a/ash/common/system/tray/tray_background_view.h
+++ b/ash/common/system/tray/tray_background_view.h
@@ -43,6 +43,8 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
void set_size(const gfx::Size& size) { size_ = size; }
+ void SetMargin(const gfx::Insets& margin);
+
// views::View:
gfx::Size GetPreferredSize() const override;
@@ -58,6 +60,7 @@ class ASH_EXPORT TrayBackgroundView : public ActionableView,
ShelfAlignment alignment_;
gfx::Size size_;
+ gfx::Insets margin_;
DISALLOW_COPY_AND_ASSIGN(TrayContainer);
};
« no previous file with comments | « no previous file | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698