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

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

Issue 2750263002: Remove ash tray utility functions that are no-ops in MD. (Closed)
Patch Set: Created 3 years, 9 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 | « ash/common/system/tray/tray_image_item.cc ('k') | ash/common/system/tray/tray_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_utils.h
diff --git a/ash/common/system/tray/tray_utils.h b/ash/common/system/tray/tray_utils.h
index 8c0c1363269ad01e9a3d5d1f700c805248bc6ea6..a746af0c0e007ddf58cd03c530f72c6c867f5e48 100644
--- a/ash/common/system/tray/tray_utils.h
+++ b/ash/common/system/tray/tray_utils.h
@@ -5,31 +5,15 @@
#ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_
#define ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_
-#include <vector>
-
-#include "ash/public/cpp/shelf_types.h"
-#include "base/strings/string16.h"
-
namespace views {
class Label;
-class View;
}
namespace ash {
-class TrayItemView;
-
// Sets up a Label properly for the tray (sets color, font etc.).
void SetupLabelForTray(views::Label* label);
-// TODO(jennyz): refactor these two functions to SystemTrayItem.
-// Sets the empty border of an image tray item for adjusting the space
-// around it.
-void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment);
-// Sets the empty border around a label tray item for adjusting the space
-// around it.
-void SetTrayLabelItemBorder(TrayItemView* tray_view, ShelfAlignment alignment);
-
} // namespace ash
#endif // ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_
« no previous file with comments | « ash/common/system/tray/tray_image_item.cc ('k') | ash/common/system/tray/tray_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698