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

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

Issue 2931643002: chromeos: Introduce ash::SystemTrayTestApi (Closed)
Patch Set: 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
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index ebc7afc7762ff4d5ddc30329dd319c65a7df032d..1d93177905b4f9b9d978819f797b932a60855e75 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -138,22 +138,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;
- 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.

Powered by Google App Engine
This is Rietveld 408576698