Lines Matching refs:tray

11 #include "ash/system/tray/system_tray_item.h"
132 // Ensure that Removing the first notification removes it from the tray.
144 scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
145 tray->message_center();
149 EXPECT_TRUE(tray->message_center_tray_->popups_visible());
154 EXPECT_TRUE(tray->message_center_tray_->popups_visible());
158 EXPECT_TRUE(tray->message_center_tray_->popups_visible());
162 EXPECT_FALSE(tray->message_center_tray_->popups_visible());
170 scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
171 message_center::MessageCenter* message_center = tray->message_center();
181 bool shown = tray->message_center_tray_->ShowMessageCenterBubble();
184 EXPECT_TRUE(tray->message_center_delegate_ != NULL);
187 tray->message_center_delegate_->NumMessageViewsForTest());
191 scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
192 message_center::MessageCenter* message_center = tray->message_center();
203 tray->message_center_tray_->HidePopupBubble();
204 tray->message_center_tray_->ShowPopupBubble();
205 EXPECT_TRUE(tray->message_center_tray_->popups_visible());
218 WebNotificationTray* tray =
220 ASSERT_TRUE(NULL != tray);
222 message_center::MessageCenter* message_center = tray->message_center();
224 bool shown = tray->message_center_tray_->ShowMessageCenterBubble();
231 if (NULL != tray->message_center_delegate_)
232 EXPECT_TRUE(tray->message_center_delegate_->GetWidget()->IsClosed());
241 scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
243 EXPECT_TRUE(tray->status_icon_ == NULL);
244 tray->OnMessageCenterTrayChanged();
246 EXPECT_TRUE(tray->status_icon_ == NULL);
249 EXPECT_TRUE(tray->status_icon_ != NULL);
252 EXPECT_TRUE(tray->status_icon_ == NULL);