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

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

Issue 2060003002: ash: Add a unit test for the system update tray item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@movetraydelegate
Patch Set: rebase Created 4 years, 6 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/shelf/shelf_view_unittest.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index fb5f4d8f6c58dfac0a882fc6954e9bf381d926f0..e3ceeec6c72d9a267b019a384f9e88e1b045bd38 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -27,6 +27,7 @@ class SystemTrayDelegate;
class SystemTrayItem;
class TrayAccessibility;
class TrayDate;
+class TrayUpdate;
class TrayUser;
// There are different methods for creating bubble views.
@@ -151,11 +152,9 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
// Get the tray item view (or NULL) for a given |tray_item| in a unit test.
views::View* GetTrayItemViewForTest(SystemTrayItem* tray_item);
- // Gets tray_cast_ for browser tests.
TrayCast* GetTrayCastForTesting() const;
-
- // Gets tray_date_ for browser tests.
TrayDate* GetTrayDateForTesting() const;
+ TrayUpdate* GetTrayUpdateForTesting() const;
private:
// Creates the default set of items for the sytem tray.
@@ -242,6 +241,7 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
TrayAccessibility* tray_accessibility_; // not owned
TrayCast* tray_cast_;
TrayDate* tray_date_;
+ TrayUpdate* tray_update_;
// A reference to the Screen share and capture item.
ScreenTrayItem* screen_capture_tray_item_; // not owned
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698