Home
last modified time | relevance | path

Searched refs:tray_ (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/ui/message_center/cocoa/
Dtray_view_controller_unittest.mm34 tray_.reset([[MCTrayViewController alloc] initWithMessageCenter:center_]);
35 [tray_ setAnimationDuration:0.002];
36 [tray_ setAnimateClearingNextNotificationDelay:0.001];
37 [tray_ setAnimationEndedCallback:^{
41 [tray_ view]; // Create the view.
45 tray_.reset();
51 if (![tray_ isAnimating])
67 base::scoped_nsobject<MCTrayViewController> tray_;
71 NSScrollView* view = [[tray_ scrollView] documentView];
85 [tray_ onMessageCenterTrayChanged];
[all …]
Dtray_controller_unittest.mm20 tray_.reset(new message_center::MessageCenterTray(
23 [[MCTrayController alloc] initWithMessageCenterTray:tray_.get()]);
28 tray_.reset();
34 scoped_ptr<message_center::MessageCenterTray> tray_;
Dtray_controller.mm39 tray_ = tray;
47 tray_->message_center()]);
110 tray_->HideMessageCenterBubble();
Dtray_controller.h25 message_center::MessageCenterTray* tray_; // Weak, indirectly owns this.
/external/chromium_org/ash/system/tray/
Dtray_bubble_wrapper.cc20 : tray_(tray), in TrayBubbleWrapper()
25 tray_->InitializeBubbleAnimations(bubble_widget_); in TrayBubbleWrapper()
26 tray_->UpdateBubbleViewArrow(bubble_view_); in TrayBubbleWrapper()
33 tray_->tray_event_filter()->RemoveWrapper(this); in ~TrayBubbleWrapper()
50 tray_->GetWidget()->GetNativeView()->GetRootWindow()); in OnWidgetDestroying()
52 capture_client->ReleaseCapture(tray_->GetWidget()->GetNativeView()); in OnWidgetDestroying()
53 tray_->HideBubbleWithView(bubble_view_); // May destroy |bubble_view_| in OnWidgetDestroying()
59 tray_->BubbleResized(bubble_view_); in OnWidgetBoundsChanged()
Dtray_bubble_wrapper.h33 const TrayBackgroundView* tray() const { return tray_; } in tray()
34 TrayBackgroundView* tray() { return tray_; } in tray()
39 TrayBackgroundView* tray_;
Dsystem_tray_bubble.cc136 : tray_(tray), in SystemTrayBubble()
262 tray_->GetBubbleWindowContainer(), anchor, tray_, init_params); in InitView()
324 tray_->HideBubbleWithView(bubble_view()); in Close()
Dsystem_tray_bubble.h65 ash::SystemTray* tray_; variable
/external/chromium_org/ash/system/chromeos/network/
Dtray_network.cc260 tray_(NULL), in TrayNetwork()
277 CHECK(tray_ == NULL); in CreateTrayView()
280 tray_ = new tray::NetworkTrayView(this); in CreateTrayView()
281 return tray_; in CreateTrayView()
288 CHECK(tray_ != NULL); in CreateDefaultView()
312 tray_ = NULL; in DestroyTrayView()
327 if (tray_) { in UpdateAfterShelfAlignmentChange()
328 SetTrayImageItemBorder(tray_, alignment); in UpdateAfterShelfAlignmentChange()
329 tray_->UpdateAlignment(alignment); in UpdateAfterShelfAlignmentChange()
357 if (tray_) in NetworkStateChanged()
[all …]
/external/chromium_org/ash/system/user/
Dtray_user_unittest.cc47 SystemTray* tray() { return tray_; } in tray()
54 SystemTray* tray_; member in ash::TrayUserTest
69 tray_(NULL), in TrayUserTest()
77 tray_ = Shell::GetPrimaryRootWindowController()->GetSystemTray(); in SetUp()
99 tray_user_.push_back(new ash::TrayUser(tray_, i)); in InitializeParameters()
100 tray_->AddTrayItem(tray_user_[i]); in InitializeParameters()
103 tray_user_separator_ = new ash::TrayUserSeparator(tray_); in InitializeParameters()
104 tray_->AddTrayItem(tray_user_separator_); in InitializeParameters()
/external/chromium_org/ash/system/chromeos/rotation/
Dtray_rotation_lock_unittest.cc33 return tray_.get(); in tray()
60 scoped_ptr<TrayRotationLock> tray_; member in ash::TrayRotationLockTest
69 tray_.reset(new TrayRotationLock(status_area_widget->system_tray())); in SetUpForStatusAreaWidget()
70 tray_view_.reset(tray_->CreateTrayView( in SetUpForStatusAreaWidget()
72 default_view_.reset(tray_->CreateDefaultView( in SetUpForStatusAreaWidget()
79 tray_.reset(); in TearDownViews()
/external/chromium_org/chrome/browser/ui/views/message_center/
Dmessage_center_widget_delegate.cc46 tray_(tray) { in MessageCenterWidgetDelegate()
102 tray_->SendHideMessageCenter(); in OnWidgetActivationChanged()
109 tray_->MarkMessageCenterHidden(); in OnWidgetClosing()
137 tray_->SendHideMessageCenter(); in AcceleratorPressed()
162 tray_->message_center()->GetVisibleNotifications(); in InitWidget()
180 int click_point_x = tray_->mouse_click_point().x(); in GetCorrectedAnchor()
201 int click_point_y = tray_->mouse_click_point().y(); in GetCorrectedAnchor()
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_notification_manager_win.cc12 DCHECK(tray_.get()); in DisplayFirstRunBalloon()
14 tray_->DisplayFirstRunBalloon(); in DisplayFirstRunBalloon()
30 DCHECK(tray_.get()); in CheckFirstRunTimer()
Dmessage_center_notification_manager.cc84 tray_.reset(message_center::CreateMessageCenterTray()); in MessageCenterNotificationManager()
271 if (tray_.get()) in EnsureMessageCenterClosed()
272 tray_->GetMessageCenterTray()->HideMessageCenterBubble(); in EnsureMessageCenterClosed()
286 tray_.reset(delegate); in SetMessageCenterTrayDelegateForTest()
296 if (is_fullscreen && tray_.get() && tray_->GetMessageCenterTray()) in Observe()
297 tray_->GetMessageCenterTray()->HidePopupBubble(); in Observe()
/external/chromium_org/ui/message_center/
Dmessage_center_tray.cc43 MessageCenterTray* tray_; member in message_center::__anon0a6430a80111::NotificationMenuModel
53 tray_(tray), in NotificationMenuModel()
74 return tray_->delegate()->IsContextMenuEnabled(); in IsCommandIdEnabled()
86 tray_->message_center()->DisableNotificationsByNotifier(notifier_id_); in ExecuteCommand()
89 tray_->ShowNotifierSettingsBubble(); in ExecuteCommand()
Dfake_message_center_tray_delegate.cc15 : tray_(new MessageCenterTray(this, message_center)), in FakeMessageCenterTrayDelegate()
48 return tray_.get(); in GetMessageCenterTray()
Dfake_message_center_tray_delegate.h41 scoped_ptr<MessageCenterTray> tray_;
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc78 if (tray_) { in TearDown()
79 GetStatusAreaWidgetDelegate(tray_->GetWidget())-> in TearDown()
81 tray_.reset(); in TearDown()
94 if (tray_) in CreateTray()
103 tray_.reset(widget->system_tray()); in CreateTray()
104 if (!tray_->GetWidget()) in CreateTray()
107 GetStatusAreaWidgetDelegate(tray_->GetWidget())->SetFocusCyclerForTesting( in CreateTray()
114 SystemTray* tray() { return tray_.get(); } in tray()
127 scoped_ptr<SystemTray> tray_; member in ash::test::FocusCyclerTest
/external/chromium_org/ui/message_center/views/
Dmessage_bubble_base.h64 MessageCenterTray* tray() { return tray_; } in tray()
71 MessageCenterTray* tray_; variable
Dmessage_center_view.h65 MessageCenterTray* tray() { return tray_; } in tray()
107 MessageCenterTray* tray_; // Weak reference. variable
Dmessage_bubble_base.cc27 tray_(tray), in MessageBubbleBase()
/external/chromium_org/chrome/browser/ui/cocoa/notifications/
Dmessage_center_tray_bridge.mm36 tray_(new message_center::MessageCenterTray(this, message_center)), function
97 return tray_.get();
110 [status_item_view_ setCallback:^{ tray_->ToggleMessageCenterBubble(); }];
135 [[MCTrayController alloc] initWithMessageCenterTray:tray_.get()]);
Dmessage_center_tray_bridge.h69 scoped_ptr<message_center::MessageCenterTray> tray_; variable
/external/chromium_org/ash/system/chromeos/
Dtray_display_unittest.cc81 SystemTray* tray() { return tray_; } in tray()
96 SystemTray* tray_; member in ash::TrayDisplayTest
104 TrayDisplayTest::TrayDisplayTest() : tray_(NULL), tray_display_(NULL) { in TrayDisplayTest()
112 tray_ = Shell::GetPrimaryRootWindowController()->GetSystemTray(); in SetUp()
113 tray_display_ = new TrayDisplay(tray_); in SetUp()
114 tray_->AddTrayItem(tray_display_); in SetUp()
124 return tray_->HasSystemBubble() && in IsDisplayVisibleInTray()
/external/chromium_org/chrome/browser/ui/views/status_icons/
Dstatus_icon_win.cc23 : tray_(tray), in StatusIconWin()
154 tray_->UpdateIconVisibilityInBackground(this); in ForceVisible()

12