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

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

Issue 2931643002: chromeos: Introduce ash::SystemTrayTestApi (Closed)
Patch Set: review comments Created 3 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/system/supervised/tray_supervised_user_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 7809922ede6f510bba1abcf2b328a03b85a19054..fa16c53f74067aaee8e1eacaccff91add8d1d17d 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -139,23 +139,11 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
ScreenTrayItem* GetScreenShareItem() { return screen_share_tray_item_; }
ScreenTrayItem* GetScreenCaptureItem() { return screen_capture_tray_item_; }
- TrayAccessibility* GetTrayAccessibilityForTest() {
- return tray_accessibility_;
- }
-
- // TODO(jamescook): Add a SystemTrayTestApi instead of these methods.
- TrayCast* GetTrayCastForTesting() const;
- TrayEnterprise* GetTrayEnterpriseForTesting() const;
- TrayNetwork* GetTrayNetworkForTesting() const;
- TraySessionLengthLimit* GetTraySessionLengthLimitForTesting() const;
- TraySupervisedUser* GetTraySupervisedUserForTesting() const;
- TraySystemInfo* GetTraySystemInfoForTesting() const;
- TrayTiles* GetTrayTilesForTesting() const;
-
// Activates the system tray bubble.
void ActivateBubble();
private:
+ friend class SystemTrayTestApi;
class ActivationObserver;
// Closes the bubble. Used to bind as a KeyEventWatcher::KeyEventCallback.
« no previous file with comments | « ash/system/supervised/tray_supervised_user_unittest.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698