Home
last modified time | relevance | path

Searched refs:alignment_delegate_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/message_center/views/
Dmessage_popup_collection.cc58 alignment_delegate_(alignment_delegate), in MessagePopupCollection()
67 alignment_delegate_->set_collection(this); in MessagePopupCollection()
123 bool top_down = alignment_delegate_->IsTopDown(); in UpdateWidgets()
140 top_down ? alignment_delegate_->GetWorkAreaBottom() - base : base; in UpdateWidgets()
156 alignment_delegate_->GetToastOriginX(gfx::Rect(preferred_size)), base); in UpdateWidgets()
158 if (alignment_delegate_->IsFromLeft()) in UpdateWidgets()
247 bool top_down = alignment_delegate_->IsTopDown(); in RepositionWidgets()
254 bounds.set_x(alignment_delegate_->GetToastOriginX(bounds)); in RepositionWidgets()
261 if ((top_down ? alignment_delegate_->GetWorkAreaBottom() - bounds.bottom() in RepositionWidgets()
280 bool top_down = alignment_delegate_->IsTopDown(); in RepositionWidgetsWithTarget()
[all …]
Dmessage_popup_collection_unittest.cc33 alignment_delegate_.reset(new DesktopPopupAlignmentDelegate); in SetUp()
35 GetContext(), MessageCenter::Get(), NULL, alignment_delegate_.get())); in SetUp()
76 alignment_delegate_->RecomputeAlignment(dummy_display); in SetDisplayInfo()
81 return alignment_delegate_->work_area_; in GetWorkArea()
130 scoped_ptr<DesktopPopupAlignmentDelegate> alignment_delegate_; member in message_center::test::MessagePopupCollectionTest
Dmessage_popup_collection.h156 PopupAlignmentDelegate* alignment_delegate_; variable
/external/chromium_org/ash/system/web_notification/
Dash_popup_alignment_delegate_unittest.cc26 alignment_delegate_.reset(new AshPopupAlignmentDelegate()); in SetUp()
27 alignment_delegate_->StartObserving( in SetUp()
32 alignment_delegate_.reset(); in TearDown()
46 return alignment_delegate_.get(); in alignment_delegate()
65 return alignment_delegate_->work_area_; in GetWorkArea()
69 scoped_ptr<AshPopupAlignmentDelegate> alignment_delegate_; member in ash::AshPopupAlignmentDelegateTest
/external/chromium_org/chrome/browser/ui/views/message_center/
Dweb_notification_tray.cc139 alignment_delegate_.reset(new message_center::DesktopPopupAlignmentDelegate); in WebNotificationTray()
142 alignment_delegate_.get())); in WebNotificationTray()
170 alignment_delegate_->StartObserving(gfx::Screen::GetNativeScreen()); in ShowPopups()
Dweb_notification_tray.h117 scoped_ptr<message_center::DesktopPopupAlignmentDelegate> alignment_delegate_; variable