Home
last modified time | relevance | path

Searched refs:visibility_state (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc244 (state_.visibility_state == SHELF_VISIBLE || in IsVisible()
245 (state_.visibility_state == SHELF_AUTO_HIDE && in IsVisible()
352 CalculateAutoHideState(state_.visibility_state); in UpdateAutoHideState()
356 SetState(state_.visibility_state); in UpdateAutoHideState()
390 if (visibility_state() == SHELF_AUTO_HIDE) { in OnGestureEdgeSwipe()
401 gesture_drag_auto_hide_state_ = visibility_state() == SHELF_AUTO_HIDE ? in StartGestureDrag()
578 void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) { in SetState() argument
583 state.visibility_state = visibility_state; in SetState()
584 state.auto_hide_state = CalculateAutoHideState(visibility_state); in SetState()
598 WillChangeVisibilityState(visibility_state)); in SetState()
[all …]
Dshelf_layout_manager_unittest.cc141 if (GetShelfLayoutManager()->visibility_state() == ash::SHELF_HIDDEN) in ProcessScroll()
398 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in RunGestureDragTests()
426 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in RunGestureDragTests()
441 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in RunGestureDragTests()
458 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in RunGestureDragTests()
482 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in RunGestureDragTests()
497 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in RunGestureDragTests()
522 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in RunGestureDragTests()
539 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in RunGestureDragTests()
555 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in RunGestureDragTests()
[all …]
Dshelf_layout_manager.h133 ShelfVisibilityState visibility_state() const { in visibility_state() function
134 return state_.visibility_state; in visibility_state()
244 State() : visibility_state(SHELF_VISIBLE), in State()
254 return other.visibility_state == visibility_state && in Equals()
255 (visibility_state != SHELF_AUTO_HIDE || in Equals()
261 ShelfVisibilityState visibility_state; member
268 void SetState(ShelfVisibilityState visibility_state);
316 ShelfVisibilityState visibility_state) const;
Dshelf_widget_unittest.cc187 EXPECT_EQ(SHELF_VISIBLE, shelf_layout_manager->visibility_state()); in TEST_F()
220 EXPECT_EQ(SHELF_AUTO_HIDE, shelf_layout_manager->visibility_state()); in TEST_F()
250 EXPECT_EQ(SHELF_VISIBLE, shelf_layout_manager->visibility_state()); in TEST_F()
276 EXPECT_EQ(SHELF_AUTO_HIDE, shelf_layout_manager->visibility_state()); in TEST_F()
Dshelf_tooltip_manager_unittest.cc134 GetShelfLayoutManager()->visibility_state()); in TEST_F()
Dshelf_widget.cc249 WillChangeVisibilityState(shelf_->visibility_state()); in ShelfWindowTargeter()
/external/chromium_org/content/child/
Drequest_extra_data.h26 blink::WebPageVisibilityState visibility_state() const { in NON_EXPORTED_BASE()
29 void set_visibility_state(blink::WebPageVisibilityState visibility_state) { in NON_EXPORTED_BASE()
30 visibility_state_ = visibility_state; in NON_EXPORTED_BASE()
Dresource_dispatcher.cc138 request_.visiblity_state = extra_data->visibility_state(); in IPCResourceLoaderBridge()
/external/chromium_org/chrome/browser/ui/views/frame/
Dimmersive_mode_controller_ash_unittest.cc234 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
240 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
245 EXPECT_EQ(ash::SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
252 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
261 EXPECT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
/external/chromium_org/content/browser/loader/
Dresource_request_info_impl.cc107 blink::WebPageVisibilityState visibility_state, in ResourceRequestInfoImpl() argument
132 visibility_state_(visibility_state), in ResourceRequestInfoImpl()
Dresource_request_info_impl.h60 blink::WebPageVisibilityState visibility_state,
/external/chromium_org/ash/wm/
Dimmersive_fullscreen_controller_unittest.cc1048 ASSERT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
1053 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
1059 EXPECT_EQ(ash::SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
1063 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
1068 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
1074 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
Dworkspace_controller_unittest.cc400 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
404 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
409 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
414 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
418 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
432 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
437 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
452 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
461 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
470 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
[all …]
Dwindow_animations.cc471 if (layout_manager->visibility_state() == SHELF_AUTO_HIDE) { in GetMinimizeAnimationTargetBoundsInScreen()
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_window_manager_unittest.cc778 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
785 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
792 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
799 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
806 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
824 EXPECT_EQ(SHELF_AUTO_HIDE, shelf->visibility_state()); in TEST_F()
831 EXPECT_EQ(SHELF_VISIBLE, shelf->visibility_state()); in TEST_F()
838 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
844 EXPECT_EQ(SHELF_HIDDEN, shelf->visibility_state()); in TEST_F()
/external/chromium_org/ash/
Dshell_unittest.cc437 GetShelfLayoutManager()->visibility_state()); in TEST_F()
444 GetShelfLayoutManager()->visibility_state()); in TEST_F()
451 GetShelfLayoutManager()->visibility_state()); in TEST_F()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray.cc124 if (shelf_ && shelf_->visibility_state() == SHELF_AUTO_HIDE && in SetSystemTrayHeight()
172 if ((shelf_->visibility_state() == SHELF_AUTO_HIDE) && in OnAutoHideStateChanged()
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager_unittest.cc252 ShelfVisibilityState visibility_state) { in SetShelfVisibilityState() argument
256 shelf->SetState(visibility_state); in SetShelfVisibilityState()
Dpanel_layout_manager.cc315 WillChangeVisibilityState(shelf_layout_manager_->visibility_state()); in SetShelf()
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager_unittest.cc954 ASSERT_EQ(SHELF_VISIBLE, shelf_layout_manager->visibility_state()); in TEST_F()