Searched refs:dimmer_ (Results 1 – 3 of 3) sorted by relevance
20 ScreenDimmerTest() : dimmer_(NULL) {} in ScreenDimmerTest()25 dimmer_ = Shell::GetPrimaryRootWindowController()->screen_dimmer(); in SetUp()26 test_api_.reset(new internal::ScreenDimmer::TestApi(dimmer_)); in SetUp()30 internal::ScreenDimmer* dimmer_; // not owned member in ash::test::ScreenDimmerTest41 dimmer_->SetDimming(false); in TEST_F()46 dimmer_->SetDimming(true); in TEST_F()56 dimmer_->SetDimming(false); in TEST_F()64 dimmer_->SetDimming(true); in TEST_F()
32 explicit TestApi(ScreenDimmer* dimmer) : dimmer_(dimmer) {} in TestApi()34 ui::Layer* layer() { return dimmer_->dimming_layer_.get(); } in layer()37 ScreenDimmer* dimmer_; // not owned
307 scoped_ptr<views::Widget> dimmer_; member in ash::ShelfWidget::DelegateView340 if (value == (dimmer_.get() != NULL)) in SetDimmed()344 dimmer_.reset(new views::Widget); in SetDimmed()352 dimmer_->Init(params); in SetDimmed()353 dimmer_->GetNativeWindow()->SetName("ShelfDimmer"); in SetDimmed()354 dimmer_->SetBounds(shelf_->GetWindowBoundsInScreen()); in SetDimmed()356 dimmer_->set_focus_on_creation(false); in SetDimmed()358 dimmer_->SetContentsView(dimmer_view_); in SetDimmed()359 dimmer_->GetNativeView()->SetName("ShelfDimmerView"); in SetDimmed()360 dimmer_->Show(); in SetDimmed()[all …]