Lines Matching defs:root_window
250 aura::Window* Shell::GetContainer(aura::Window* root_window,
252 return root_window->GetChildById(container_id);
256 const aura::Window* Shell::GetContainer(const aura::Window* root_window,
258 return root_window->GetChildById(container_id);
414 void Shell::OnRootWindowAdded(aura::Window* root_window) {
415 FOR_EACH_OBSERVER(ShellObserver, observers_, OnRootWindowAdded(root_window));
425 void Shell::OnShelfCreatedForRootWindow(aura::Window* root_window) {
428 OnShelfCreatedForRootWindow(root_window));
487 aura::Window* root_window) {
488 ash::ShelfLayoutManager::ForShelf(root_window)->SetAutoHideBehavior(behavior);
492 aura::Window* root_window) const {
493 return ash::ShelfLayoutManager::ForShelf(root_window)->auto_hide_behavior();
497 aura::Window* root_window) {
498 if (ash::ShelfLayoutManager::ForShelf(root_window)->SetAlignment(alignment)) {
500 ShellObserver, observers_, OnShelfAlignmentChanged(root_window));
504 ShelfAlignment Shell::GetShelfAlignment(const aura::Window* root_window) {
505 return GetRootWindowController(root_window)
518 aura::Window* root_window) {
520 is_fullscreen, root_window));
868 aura::Window* root_window = display_controller_->GetPrimaryRootWindow();
869 target_root_window_ = root_window;
909 root_window->GetHost()->GetAcceleratedWidget()));
1069 void Shell::InitRootWindow(aura::Window* root_window) {
1074 aura::client::SetFocusClient(root_window, focus_client_.get());
1075 input_method_filter_->SetInputMethodPropertyInRootWindow(root_window);
1076 aura::client::SetActivationClient(root_window, activation_client_);
1079 root_window->AddPreTargetHandler(focus_controller);
1080 aura::client::SetVisibilityClient(root_window, visibility_controller_.get());
1081 aura::client::SetDragDropClient(root_window, drag_drop_controller_.get());
1082 aura::client::SetScreenPositionClient(root_window,
1084 aura::client::SetCursorClient(root_window, &cursor_manager_);
1085 aura::client::SetTooltipClient(root_window, tooltip_controller_.get());
1086 aura::client::SetEventClient(root_window, event_client_.get());
1088 aura::client::SetWindowMoveClient(root_window,
1090 root_window->AddPreTargetHandler(toplevel_window_event_handler_.get());
1091 root_window->AddPostTargetHandler(toplevel_window_event_handler_.get());
1094 aura::client::SetDispatcherClient(root_window,