Lines Matching refs:tray
11 #include "ash/system/tray/system_tray.h"
12 #include "ash/system/tray/tray_constants.h"
36 // Show the system tray menu using the provided event generator.
42 // Click on the user item. Note that the tray menu needs to be shown.
47 SystemTray* tray() { return tray_; }
60 // The separator between the tray users and the rest of the menu.
96 // Instead of using the existing tray panels we create new ones which makes
108 gfx::Point center = tray()->GetBoundsInScreen().CenterPoint();
111 EXPECT_FALSE(tray()->IsAnyBubbleVisible());
129 // Make sure that we show items for all users in the tray accordingly.
148 EXPECT_FALSE(tray()->IsAnyBubbleVisible());
156 EXPECT_TRUE(tray()->HasSystemBubble());
157 EXPECT_TRUE(tray()->IsAnyBubbleVisible());
163 tray()->CloseSystemBubble();
185 EXPECT_FALSE(tray()->IsAnyBubbleVisible());
189 // After clicking on the tray the menu should get shown and for each logged
194 EXPECT_TRUE(tray()->HasSystemBubble());
195 EXPECT_TRUE(tray()->IsAnyBubbleVisible());
224 tray()->CloseSystemBubble();
225 EXPECT_FALSE(tray()->IsAnyBubbleVisible());
246 tray()->CloseSystemBubble();