Searched refs:alignment_delegate_ (Results 1 – 6 of 6) sorted by relevance
58 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 …]
33 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
156 PopupAlignmentDelegate* alignment_delegate_; variable
26 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
139 alignment_delegate_.reset(new message_center::DesktopPopupAlignmentDelegate); in WebNotificationTray()142 alignment_delegate_.get())); in WebNotificationTray()170 alignment_delegate_->StartObserving(gfx::Screen::GetNativeScreen()); in ShowPopups()
117 scoped_ptr<message_center::DesktopPopupAlignmentDelegate> alignment_delegate_; variable