window_state 972 apps/app_window.cc ui::WindowShowState window_state = native_app_window_->GetRestoredState(); window_state 974 apps/app_window.cc extension()->id(), window_key_, bounds, screen_bounds, window_state); window_state 56 apps/app_window_geometry_cache.cc ui::WindowShowState window_state) { window_state 62 apps/app_window_geometry_cache.cc extension_data[window_id].window_state == window_state && window_state 71 apps/app_window_geometry_cache.cc extension_data[window_id].window_state = window_state; window_state 124 apps/app_window_geometry_cache.cc DCHECK(it->second.window_state != ui::SHOW_STATE_DEFAULT); window_state 133 apps/app_window_geometry_cache.cc value->SetInteger("state", it->second.window_state); window_state 152 apps/app_window_geometry_cache.cc ui::WindowShowState* window_state) { window_state 177 apps/app_window_geometry_cache.cc (window_state && window_data.window_state == ui::SHOW_STATE_DEFAULT)) window_state 184 apps/app_window_geometry_cache.cc if (window_state) window_state 185 apps/app_window_geometry_cache.cc *window_state = window_data.window_state; window_state 192 apps/app_window_geometry_cache.cc : window_state(ui::SHOW_STATE_DEFAULT) {} window_state 264 apps/app_window_geometry_cache.cc window_data.window_state = static_cast<ui::WindowShowState>(i); window_state 118 apps/app_window_geometry_cache.h ui::WindowShowState window_state; window_state 29 ash/accelerators/accelerator_commands.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 30 ash/accelerators/accelerator_commands.cc if (!window_state->CanMinimize()) window_state 32 ash/accelerators/accelerator_commands.cc window_state->Minimize(); window_state 37 ash/accelerators/accelerator_commands.cc wm::WindowState* window_state = wm::GetActiveWindowState(); window_state 38 ash/accelerators/accelerator_commands.cc if (!window_state) window_state 42 ash/accelerators/accelerator_commands.cc window_state->OnWMEvent(&event); window_state 46 ash/accelerators/accelerator_commands.cc wm::WindowState* window_state = wm::GetActiveWindowState(); window_state 47 ash/accelerators/accelerator_commands.cc if (window_state) { window_state 49 ash/accelerators/accelerator_commands.cc window_state->OnWMEvent(&event); window_state 506 ash/accelerators/accelerator_controller.cc wm::WindowState* window_state = wm::GetActiveWindowState(); window_state 509 ash/accelerators/accelerator_controller.cc if (!window_state || window_state 510 ash/accelerators/accelerator_controller.cc window_state->window()->type() != ui::wm::WINDOW_TYPE_NORMAL || window_state 511 ash/accelerators/accelerator_controller.cc window_state->IsFullscreen()) { window_state 522 ash/accelerators/accelerator_controller.cc window_state->OnWMEvent(&event); window_state 476 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 478 ash/accelerators/accelerator_controller_unittest.cc window_state->Activate(); window_state 493 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect normal_bounds = window_state->GetRestoreBoundsInParent(); window_state 496 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 500 ash/accelerators/accelerator_controller_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 507 ash/accelerators/accelerator_controller_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 511 ash/accelerators/accelerator_controller_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 514 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 516 ash/accelerators/accelerator_controller_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 517 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 518 ash/accelerators/accelerator_controller_unittest.cc window_state->Restore(); window_state 519 ash/accelerators/accelerator_controller_unittest.cc window_state->Activate(); window_state 523 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 531 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 532 ash/accelerators/accelerator_controller_unittest.cc window_state->Activate(); window_state 606 ash/accelerators/accelerator_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 611 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 616 ash/accelerators/accelerator_controller_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 620 ash/accelerators/accelerator_controller_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 548 ash/display/display_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 550 ash/display/display_controller_unittest.cc window_state->OnWMEvent(&toggle_fullscreen_event); window_state 551 ash/display/display_controller_unittest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 566 ash/display/display_controller_unittest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 257 ash/frame/caption_buttons/alternate_frame_size_button.cc wm::WindowState* window_state = window_state 263 ash/frame/caption_buttons/alternate_frame_size_button.cc window_state->OnWMEvent(&snap_event); window_state 102 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc return window_state()->GetStateType() == state_type; window_state 187 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_FALSE(window_state()->IsMaximized()); window_state 193 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsMaximized()); window_state 198 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_FALSE(window_state()->IsMaximized()); window_state 202 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsMaximized()); window_state 206 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_FALSE(window_state()->IsMaximized()); window_state 212 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsNormalStateType()); window_state 271 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsNormalStateType()); window_state 288 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsNormalStateType()); window_state 295 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsNormalStateType()); window_state 443 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc EXPECT_TRUE(window_state()->IsNormalStateType()); window_state 466 ash/frame/caption_buttons/frame_maximize_button.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 467 ash/frame/caption_buttons/frame_maximize_button.cc return window_state->HasRestoreBounds() ? window_state 468 ash/frame/caption_buttons/frame_maximize_button.cc window_state->GetRestoreBoundsInScreen() : window_state 479 ash/frame/caption_buttons/frame_maximize_button.cc wm::WindowState* window_state = wm::GetWindowState(frame_->GetNativeWindow()); window_state 483 ash/frame/caption_buttons/frame_maximize_button.cc window_state->OnWMEvent(&event); window_state 490 ash/frame/caption_buttons/frame_maximize_button.cc window_state->OnWMEvent(&event); window_state 517 ash/frame/caption_buttons/frame_maximize_button.cc wm::WindowState* window_state = window_state 520 ash/frame/caption_buttons/frame_maximize_button.cc if (!window_state->HasRestoreBounds()) window_state 181 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = window_state 187 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->window()->GetRootWindow(), center); window_state 189 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 193 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 199 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 202 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 205 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 208 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 211 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 229 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 230 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 239 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 240 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 254 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 255 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 269 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 272 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->Restore(); window_state 286 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 287 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 303 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 304 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 319 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 447 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 448 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 449 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 521 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 522 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 523 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 534 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 545 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 563 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 608 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 610 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 625 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 638 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 639 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 642 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 657 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 670 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 671 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 674 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 677 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 684 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 705 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 706 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->Minimize(); window_state 708 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 718 ash/frame/caption_buttons/frame_maximize_button_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 720 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->Maximize(); window_state 721 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 729 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 733 ash/frame/caption_buttons/frame_maximize_button_unittest.cc window_state->Restore(); window_state 739 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 51 ash/frame/custom_frame_view_ash.cc ash::wm::WindowState* window_state, window_state 67 ash/frame/custom_frame_view_ash.cc window_state_ = window_state; window_state 80 ash/frame/custom_frame_view_ash.cc virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE { window_state 81 ash/frame/custom_frame_view_ash.cc bool enter_fullscreen = !window_state->IsFullscreen(); window_state 83 ash/frame/custom_frame_view_ash.cc window_state->window()->SetProperty(aura::client::kShowStateKey, window_state 86 ash/frame/custom_frame_view_ash.cc window_state->Restore(); window_state 103 ash/frame/custom_frame_view_ash.cc ash::wm::WindowState* window_state, window_state 105 ash/frame/custom_frame_view_ash.cc if (!window_state->IsFullscreen() && window_state 106 ash/frame/custom_frame_view_ash.cc !window_state->IsMinimized() && window_state 455 ash/frame/custom_frame_view_ash.cc wm::WindowState* window_state = wm::GetWindowState(frame->GetNativeWindow()); window_state 456 ash/frame/custom_frame_view_ash.cc if (!window_state->HasDelegate()) { window_state 457 ash/frame/custom_frame_view_ash.cc window_state->SetDelegate(scoped_ptr<wm::WindowStateDelegate>( window_state 459 ash/frame/custom_frame_view_ash.cc window_state, this))); window_state 327 ash/shelf/shelf_layout_manager.cc WorkspaceWindowState window_state(workspace_controller_->GetWindowState()); window_state 328 ash/shelf/shelf_layout_manager.cc switch (window_state) { window_state 350 ash/shelf/shelf_layout_manager.cc SetWindowOverlapsShelf(window_state == window_state 612 ash/shelf/shelf_layout_manager.cc state.window_state = workspace_controller_ ? window_state 650 ash/shelf/shelf_layout_manager.cc state.window_state == WORKSPACE_WINDOW_STATE_MAXIMIZED && window_state 674 ash/shelf/shelf_layout_manager.cc state.window_state == WORKSPACE_WINDOW_STATE_MAXIMIZED); window_state 988 ash/shelf/shelf_layout_manager.cc state_.window_state == WORKSPACE_WINDOW_STATE_MAXIMIZED) { window_state 249 ash/shelf/shelf_layout_manager.h window_state(WORKSPACE_WINDOW_STATE_DEFAULT), window_state 260 ash/shelf/shelf_layout_manager.h other.window_state == window_state && window_state 266 ash/shelf/shelf_layout_manager.h WorkspaceWindowState window_state; window_state 32 ash/shelf/shelf_window_watcher_item_delegate.cc wm::WindowState* window_state = wm::GetWindowState(window_); window_state 33 ash/shelf/shelf_window_watcher_item_delegate.cc if (window_state->IsActive()) { window_state 37 ash/shelf/shelf_window_watcher_item_delegate.cc window_state->Minimize(); window_state 40 ash/shelf/shelf_window_watcher_item_delegate.cc window_state->Activate(); window_state 146 ash/shelf/shelf_window_watcher_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 156 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 157 ash/shelf/shelf_window_watcher_unittest.cc window_state->Maximize(); window_state 158 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 166 ash/shelf/shelf_window_watcher_unittest.cc window_state->Restore(); window_state 167 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 43 ash/shell/toplevel_window.cc wm::WindowState* window_state = wm::GetWindowState(widget->GetNativeView()); window_state 44 ash/shell/toplevel_window.cc window_state->set_window_position_managed(true); window_state 157 ash/wm/ash_focus_rules.cc WindowState* window_state = GetWindowState(*i); window_state 159 ash/wm/ash_focus_rules.cc window_state->CanActivate() && window_state 160 ash/wm/ash_focus_rules.cc !window_state->IsMinimized()) window_state 37 ash/wm/default_state.cc void MoveToDisplayForRestore(WindowState* window_state) { window_state 38 ash/wm/default_state.cc if (!window_state->HasRestoreBounds()) window_state 40 ash/wm/default_state.cc const gfx::Rect& restore_bounds = window_state->GetRestoreBoundsInScreen(); window_state 49 ash/wm/default_state.cc window_state->window()).bounds(); window_state 58 ash/wm/default_state.cc if (new_root != window_state->window()->GetRootWindow()) { window_state 60 ash/wm/default_state.cc Shell::GetContainer(new_root, window_state->window()->parent()->id()); window_state 61 ash/wm/default_state.cc new_container->AddChild(window_state->window()); window_state 72 ash/wm/default_state.cc void DefaultState::OnWMEvent(WindowState* window_state, window_state 74 ash/wm/default_state.cc if (ProcessWorkspaceEvents(window_state, event)) window_state 77 ash/wm/default_state.cc if (ProcessCompoundEvents(window_state, event)) window_state 101 ash/wm/default_state.cc SetBounds(window_state, static_cast<const SetBoundsEvent*>(event)); window_state 121 ash/wm/default_state.cc WindowStateType current = window_state->GetStateType(); window_state 123 ash/wm/default_state.cc if (next_state_type == current && window_state->IsSnapped()) { window_state 125 ash/wm/default_state.cc GetDefaultLeftSnappedWindowBoundsInParent(window_state->window()) : window_state 126 ash/wm/default_state.cc GetDefaultRightSnappedWindowBoundsInParent(window_state->window()); window_state 127 ash/wm/default_state.cc window_state->SetBoundsDirectAnimated(snapped_bounds); window_state 131 ash/wm/default_state.cc EnterToNextState(window_state, next_state_type); window_state 139 ash/wm/default_state.cc WindowState* window_state, window_state 141 ash/wm/default_state.cc DCHECK_EQ(stored_window_state_, window_state); window_state 143 ash/wm/default_state.cc ReenterToCurrentState(window_state, state_in_previous_mode); window_state 148 ash/wm/default_state.cc GetDisplayNearestWindow(window_state->window()); window_state 151 ash/wm/default_state.cc window_state->OnWMEvent(&event); window_state 154 ash/wm/default_state.cc window_state->OnWMEvent(&event); window_state 158 ash/wm/default_state.cc void DefaultState::DetachState(WindowState* window_state) { window_state 159 ash/wm/default_state.cc stored_window_state_ = window_state; window_state 160 ash/wm/default_state.cc aura::Window* window = window_state->window(); window_state 162 ash/wm/default_state.cc stored_restore_bounds_ = window_state->HasRestoreBounds() ? window_state 163 ash/wm/default_state.cc window_state->GetRestoreBoundsInParent() : gfx::Rect(); window_state 169 ash/wm/default_state.cc GetDisplayNearestWindow(window_state->window()); window_state 173 ash/wm/default_state.cc bool DefaultState::ProcessCompoundEvents(WindowState* window_state, window_state 175 ash/wm/default_state.cc aura::Window* window = window_state->window(); window_state 179 ash/wm/default_state.cc if (window_state->IsFullscreen()) { window_state 181 ash/wm/default_state.cc window_state->OnWMEvent(&event); window_state 182 ash/wm/default_state.cc } else if (window_state->IsMaximized()) { window_state 183 ash/wm/default_state.cc window_state->Restore(); window_state 184 ash/wm/default_state.cc } else if (window_state->IsNormalOrSnapped()) { window_state 185 ash/wm/default_state.cc if (window_state->CanMaximize()) window_state 186 ash/wm/default_state.cc window_state->Maximize(); window_state 190 ash/wm/default_state.cc if (window_state->IsFullscreen()) { window_state 192 ash/wm/default_state.cc window_state->OnWMEvent(&event); window_state 193 ash/wm/default_state.cc } else if (window_state->IsMaximized()) { window_state 194 ash/wm/default_state.cc window_state->Restore(); window_state 195 ash/wm/default_state.cc } else if (window_state->CanMaximize()) { window_state 196 ash/wm/default_state.cc window_state->Maximize(); window_state 209 ash/wm/default_state.cc !window_state->IsNormalStateType()) { window_state 212 ash/wm/default_state.cc if (window_state->HasRestoreBounds() && window_state 215 ash/wm/default_state.cc window_state->SetAndClearRestoreBounds(); window_state 217 ash/wm/default_state.cc window_state->SaveCurrentBoundsForRestore(); window_state 231 ash/wm/default_state.cc if (!window_state->IsNormalOrSnapped()) window_state 235 ash/wm/default_state.cc if (window_state->IsNormalStateType() && window_state 236 ash/wm/default_state.cc window_state->HasRestoreBounds() && window_state 239 ash/wm/default_state.cc window_state->SetAndClearRestoreBounds(); window_state 247 ash/wm/default_state.cc if (window_state->IsSnapped()) { window_state 248 ash/wm/default_state.cc window_state->SetRestoreBoundsInParent(new_bounds); window_state 249 ash/wm/default_state.cc window_state->Restore(); window_state 256 ash/wm/default_state.cc window_state->SetRestoreBoundsInParent(restore_bounds); window_state 264 ash/wm/default_state.cc bool is_fullscreen = window_state->IsFullscreen(); window_state 265 ash/wm/default_state.cc if (!is_fullscreen && !window_state->CanMaximize()) window_state 267 ash/wm/default_state.cc if (window_state->delegate() && window_state 268 ash/wm/default_state.cc window_state->delegate()->ToggleFullscreen(window_state)) { window_state 272 ash/wm/default_state.cc window_state->Restore(); window_state 275 ash/wm/default_state.cc window_state->window()->SetProperty(aura::client::kShowStateKey, window_state 281 ash/wm/default_state.cc CenterWindow(window_state); window_state 301 ash/wm/default_state.cc bool DefaultState::ProcessWorkspaceEvents(WindowState* window_state, window_state 310 ash/wm/default_state.cc if (window_state->is_dragged() || window_state 311 ash/wm/default_state.cc SetMaximizedOrFullscreenBounds(window_state)) { window_state 315 ash/wm/default_state.cc aura::Window* window = window_state->window(); window_state 332 ash/wm/default_state.cc window_state->AdjustSnappedBounds(&bounds); window_state 334 ash/wm/default_state.cc window_state->SetBoundsConstrained(bounds); window_state 338 ash/wm/default_state.cc if (window_state->is_dragged() || window_state 339 ash/wm/default_state.cc SetMaximizedOrFullscreenBounds(window_state)) { window_state 343 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window_state 344 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); window_state 348 ash/wm/default_state.cc window_state->AdjustSnappedBounds(&bounds); window_state 349 ash/wm/default_state.cc if (window_state->window()->bounds() != bounds) window_state 350 ash/wm/default_state.cc window_state->SetBoundsDirectAnimated(bounds); window_state 354 ash/wm/default_state.cc if (window_state->is_dragged() || window_state 355 ash/wm/default_state.cc SetMaximizedOrFullscreenBounds(window_state)) { window_state 359 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window_state 360 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); window_state 362 ash/wm/default_state.cc window_state->AdjustSnappedBounds(&bounds); window_state 363 ash/wm/default_state.cc if (window_state->window()->bounds() != bounds) window_state 364 ash/wm/default_state.cc window_state->SetBoundsDirectAnimated(bounds); window_state 387 ash/wm/default_state.cc bool DefaultState::SetMaximizedOrFullscreenBounds(WindowState* window_state) { window_state 388 ash/wm/default_state.cc DCHECK(!window_state->is_dragged()); window_state 389 ash/wm/default_state.cc if (window_state->IsMaximized()) { window_state 390 ash/wm/default_state.cc window_state->SetBoundsDirect( window_state 391 ash/wm/default_state.cc ScreenUtil::GetMaximizedWindowBoundsInParent(window_state->window())); window_state 394 ash/wm/default_state.cc if (window_state->IsFullscreen()) { window_state 395 ash/wm/default_state.cc window_state->SetBoundsDirect( window_state 396 ash/wm/default_state.cc ScreenUtil::GetDisplayBoundsInParent(window_state->window())); window_state 403 ash/wm/default_state.cc void DefaultState::SetBounds(WindowState* window_state, window_state 405 ash/wm/default_state.cc if (window_state->is_dragged()) { window_state 406 ash/wm/default_state.cc window_state->SetBoundsDirect(event->requested_bounds()); window_state 407 ash/wm/default_state.cc } else if (window_state->IsSnapped()) { window_state 409 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window_state 412 ash/wm/default_state.cc window_state->AdjustSnappedBounds(&child_bounds); window_state 413 ash/wm/default_state.cc window_state->SetBoundsDirect(child_bounds); window_state 414 ash/wm/default_state.cc } else if (!SetMaximizedOrFullscreenBounds(window_state)) { window_state 415 ash/wm/default_state.cc window_state->SetBoundsConstrained(event->requested_bounds()); window_state 419 ash/wm/default_state.cc void DefaultState::EnterToNextState(WindowState* window_state, window_state 428 ash/wm/default_state.cc window_state->UpdateWindowShowStateFromStateType(); window_state 429 ash/wm/default_state.cc window_state->NotifyPreStateTypeChange(previous_state_type); window_state 434 ash/wm/default_state.cc if (window_state->window()->parent() && window_state 435 ash/wm/default_state.cc (window_state->IsSnapped() || window_state 436 ash/wm/default_state.cc (!window_state->IsDocked() && !IsPanel(window_state->window())))) { window_state 437 ash/wm/default_state.cc if (!window_state->HasRestoreBounds() && window_state 440 ash/wm/default_state.cc !window_state->IsMinimized() && window_state 441 ash/wm/default_state.cc !window_state->IsNormalStateType()) { window_state 442 ash/wm/default_state.cc window_state->SaveCurrentBoundsForRestore(); window_state 451 ash/wm/default_state.cc window_state->IsNormalStateType() && window_state 452 ash/wm/default_state.cc window_state->HasRestoreBounds() && window_state 453 ash/wm/default_state.cc !window_state->unminimize_to_restore_bounds()) { window_state 454 ash/wm/default_state.cc restore_bounds_in_screen = window_state->GetRestoreBoundsInScreen(); window_state 455 ash/wm/default_state.cc window_state->SaveCurrentBoundsForRestore(); window_state 458 ash/wm/default_state.cc if (window_state->IsMaximizedOrFullscreen()) window_state 459 ash/wm/default_state.cc MoveToDisplayForRestore(window_state); window_state 461 ash/wm/default_state.cc UpdateBoundsFromState(window_state, previous_state_type); window_state 466 ash/wm/default_state.cc window_state->SetRestoreBoundsInScreen(restore_bounds_in_screen); window_state 467 ash/wm/default_state.cc else if (window_state->IsNormalStateType()) window_state 468 ash/wm/default_state.cc window_state->ClearRestoreBounds(); window_state 470 ash/wm/default_state.cc window_state->NotifyPostStateTypeChange(previous_state_type); window_state 474 ash/wm/default_state.cc WindowState* window_state, window_state 477 ash/wm/default_state.cc window_state->UpdateWindowShowStateFromStateType(); window_state 478 ash/wm/default_state.cc window_state->NotifyPreStateTypeChange(previous_state_type); window_state 484 ash/wm/default_state.cc window_state->SetRestoreBoundsInParent(stored_bounds_); window_state 487 ash/wm/default_state.cc UpdateBoundsFromState(window_state, state_in_previous_mode->GetType()); window_state 491 ash/wm/default_state.cc window_state->SetRestoreBoundsInParent(stored_restore_bounds_); window_state 493 ash/wm/default_state.cc window_state->ClearRestoreBounds(); window_state 495 ash/wm/default_state.cc window_state->NotifyPostStateTypeChange(previous_state_type); window_state 498 ash/wm/default_state.cc void DefaultState::UpdateBoundsFromState(WindowState* window_state, window_state 500 ash/wm/default_state.cc aura::Window* window = window_state->window(); window_state 506 ash/wm/default_state.cc GetDefaultLeftSnappedWindowBoundsInParent(window_state->window()) : window_state 507 ash/wm/default_state.cc GetDefaultRightSnappedWindowBoundsInParent(window_state->window()); window_state 512 ash/wm/default_state.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window_state->window()); window_state 513 ash/wm/default_state.cc if (window_state->HasRestoreBounds()) window_state 514 ash/wm/default_state.cc bounds_in_parent = window_state->GetRestoreBoundsInParent(); window_state 541 ash/wm/default_state.cc window_state->IsFullscreen()) { window_state 542 ash/wm/default_state.cc window_state->SetBoundsDirect(bounds_in_parent); window_state 543 ash/wm/default_state.cc } else if (window_state->IsMaximized() || window_state 545 ash/wm/default_state.cc window_state->SetBoundsDirectCrossFade(bounds_in_parent); window_state 546 ash/wm/default_state.cc } else if (window_state->is_dragged()) { window_state 549 ash/wm/default_state.cc window_state->SetBoundsDirect(bounds_in_parent); window_state 551 ash/wm/default_state.cc window_state->SetBoundsDirectAnimated(bounds_in_parent); window_state 555 ash/wm/default_state.cc if (window_state->IsMinimized()) { window_state 557 ash/wm/default_state.cc window_state->window()->SetProperty(aura::client::kRestoreShowStateKey, window_state 560 ash/wm/default_state.cc window_state->window(), WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE); window_state 563 ash/wm/default_state.cc window_state->window()->Hide(); window_state 565 ash/wm/default_state.cc if (window_state->IsActive()) window_state 566 ash/wm/default_state.cc window_state->Deactivate(); window_state 567 ash/wm/default_state.cc } else if ((window_state->window()->TargetVisibility() || window_state 569 ash/wm/default_state.cc !window_state->window()->layer()->visible()) { window_state 572 ash/wm/default_state.cc window_state->window()->Show(); window_state 574 ash/wm/default_state.cc !window_state->IsMaximizedOrFullscreen()) { window_state 575 ash/wm/default_state.cc window_state->set_unminimize_to_restore_bounds(false); window_state 581 ash/wm/default_state.cc void DefaultState::CenterWindow(WindowState* window_state) { window_state 582 ash/wm/default_state.cc if (!window_state->IsNormalOrSnapped()) window_state 584 ash/wm/default_state.cc aura::Window* window = window_state->window(); window_state 585 ash/wm/default_state.cc if (window_state->IsSnapped()) { window_state 588 ash/wm/default_state.cc gfx::Size size = window_state->HasRestoreBounds() ? window_state 589 ash/wm/default_state.cc window_state->GetRestoreBoundsInScreen().size() : window_state 592 ash/wm/default_state.cc window_state->SetRestoreBoundsInScreen(center_in_screen); window_state 593 ash/wm/default_state.cc window_state->Restore(); window_state 598 ash/wm/default_state.cc window_state->SetBoundsDirectAnimated(center_in_parent); window_state 601 ash/wm/default_state.cc window_state->set_bounds_changed_by_user(true); window_state 22 ash/wm/default_state.h virtual void OnWMEvent(WindowState* window_state, window_state 25 ash/wm/default_state.h virtual void AttachState(WindowState* window_state, window_state 27 ash/wm/default_state.h virtual void DetachState(WindowState* window_state) OVERRIDE; window_state 32 ash/wm/default_state.h static bool ProcessCompoundEvents(WindowState* window_state, window_state 36 ash/wm/default_state.h static bool ProcessWorkspaceEvents(WindowState* window_state, window_state 40 ash/wm/default_state.h static bool SetMaximizedOrFullscreenBounds(wm::WindowState* window_state); window_state 42 ash/wm/default_state.h static void SetBounds(WindowState* window_state, window_state 45 ash/wm/default_state.h static void CenterWindow(WindowState* window_state); window_state 49 ash/wm/default_state.h void EnterToNextState(wm::WindowState* window_state, window_state 55 ash/wm/default_state.h void ReenterToCurrentState(wm::WindowState* window_state, window_state 59 ash/wm/default_state.h void UpdateBoundsFromState(wm::WindowState* window_state, window_state 25 ash/wm/default_window_resizer.cc DefaultWindowResizer::Create(wm::WindowState* window_state) { window_state 26 ash/wm/default_window_resizer.cc return new DefaultWindowResizer(window_state); window_state 52 ash/wm/default_window_resizer.cc DefaultWindowResizer::DefaultWindowResizer(wm::WindowState* window_state) window_state 53 ash/wm/default_window_resizer.cc : WindowResizer(window_state), window_state 22 ash/wm/default_window_resizer.h static DefaultWindowResizer* Create(wm::WindowState* window_state); window_state 37 ash/wm/default_window_resizer.h explicit DefaultWindowResizer(wm::WindowState* window_state); window_state 600 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 601 ash/wm/dock/docked_window_layout_manager.cc bool should_attach_to_shelf = window_state->drag_details() && window_state 602 ash/wm/dock/docked_window_layout_manager.cc window_state->drag_details()->should_attach_to_shelf; window_state 611 ash/wm/dock/docked_window_layout_manager.cc (!window_state->CanResize() || window_state 747 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 750 ash/wm/dock/docked_window_layout_manager.cc MinimizeDockedWindow(window_state); window_state 752 ash/wm/dock/docked_window_layout_manager.cc if (!window_state->IsMinimized()) window_state 753 ash/wm/dock/docked_window_layout_manager.cc RestoreDockedWindow(window_state); window_state 798 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state, window_state 800 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window = window_state->window(); window_state 807 ash/wm/dock/docked_window_layout_manager.cc if (window_state->IsMinimized()) { window_state 808 ash/wm/dock/docked_window_layout_manager.cc MinimizeDockedWindow(window_state); window_state 809 ash/wm/dock/docked_window_layout_manager.cc } else if (window_state->IsMaximizedOrFullscreen() || window_state 810 ash/wm/dock/docked_window_layout_manager.cc window_state->IsSnapped()) { window_state 816 ash/wm/dock/docked_window_layout_manager.cc RestoreDockedWindow(window_state); window_state 917 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state) { window_state 918 ash/wm/dock/docked_window_layout_manager.cc DCHECK(!IsPopupOrTransient(window_state->window())); window_state 919 ash/wm/dock/docked_window_layout_manager.cc window_state->window()->Hide(); window_state 920 ash/wm/dock/docked_window_layout_manager.cc if (window_state->IsActive()) window_state 921 ash/wm/dock/docked_window_layout_manager.cc window_state->Deactivate(); window_state 926 ash/wm/dock/docked_window_layout_manager.cc wm::WindowState* window_state) { window_state 927 ash/wm/dock/docked_window_layout_manager.cc aura::Window* window = window_state->window(); window_state 979 ash/wm/dock/docked_window_layout_manager.cc const wm::WindowState* window_state = wm::GetWindowState(window); window_state 980 ash/wm/dock/docked_window_layout_manager.cc if (window_state->HasRestoreBounds()) { window_state 981 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect restore_bounds = window_state->GetRestoreBoundsInScreen(); window_state 161 ash/wm/dock/docked_window_layout_manager.h wm::WindowState* window_state, window_state 192 ash/wm/dock/docked_window_layout_manager.h void MinimizeDockedWindow(wm::WindowState* window_state); window_state 193 ash/wm/dock/docked_window_layout_manager.h void RestoreDockedWindow(wm::WindowState* window_state); window_state 58 ash/wm/dock/docked_window_resizer.cc wm::WindowState* window_state) { window_state 59 ash/wm/dock/docked_window_resizer.cc return new DockedWindowResizer(next_window_resizer, window_state); window_state 131 ash/wm/dock/docked_window_resizer.cc wm::WindowState* window_state) window_state 132 ash/wm/dock/docked_window_resizer.cc : WindowResizer(window_state), window_state 139 ash/wm/dock/docked_window_resizer.cc was_bounds_changed_by_user_(window_state->bounds_changed_by_user()), window_state 36 ash/wm/dock/docked_window_resizer.h wm::WindowState* window_state); window_state 48 ash/wm/dock/docked_window_resizer.h wm::WindowState* window_state); window_state 502 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 504 ash/wm/dock/docked_window_resizer_unittest.cc window_state->Minimize(); window_state 507 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 509 ash/wm/dock/docked_window_resizer_unittest.cc window_state->Restore(); window_state 512 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 528 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 530 ash/wm/dock/docked_window_resizer_unittest.cc window_state->Maximize(); window_state 533 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 1515 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 1525 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsDocked()); window_state 1526 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 1530 ash/wm/dock/docked_window_resizer_unittest.cc window_state->OnWMEvent(&snap_right); window_state 1537 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_FALSE(window_state->IsDocked()); window_state 1538 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsSnapped()); window_state 1548 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsDocked()); window_state 1549 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 1553 ash/wm/dock/docked_window_resizer_unittest.cc window_state->OnWMEvent(&snap_left); window_state 1561 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_FALSE(window_state->IsDocked()); window_state 1562 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsSnapped()); window_state 1573 ash/wm/dock/docked_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 1585 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsDocked()); window_state 1595 ash/wm/dock/docked_window_resizer_unittest.cc window_state->Maximize(); window_state 1604 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 64 ash/wm/drag_details.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 65 ash/wm/drag_details.cc if (window_state->IsNormalOrSnapped() && window_state 66 ash/wm/drag_details.cc window_state->HasRestoreBounds() && window_state 68 ash/wm/drag_details.cc restore_bounds = window_state->GetRestoreBoundsInScreen(); window_state 67 ash/wm/drag_window_resizer.cc wm::WindowState* window_state) { window_state 68 ash/wm/drag_window_resizer.cc return new DragWindowResizer(next_window_resizer, window_state); window_state 145 ash/wm/drag_window_resizer.cc wm::WindowState* window_state) window_state 146 ash/wm/drag_window_resizer.cc : WindowResizer(window_state), window_state 28 ash/wm/drag_window_resizer.h wm::WindowState* window_state); window_state 42 ash/wm/drag_window_resizer.h wm::WindowState* window_state); window_state 471 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 473 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 474 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->Minimize(); window_state 475 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 476 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->Restore(); window_state 477 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 478 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->Restore(); window_state 479 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 488 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 490 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event); window_state 491 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 497 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 498 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 499 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event); window_state 500 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 501 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 504 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 505 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 512 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 515 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event_left); window_state 516 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsSnapped()); window_state 522 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 523 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 524 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event_left); window_state 525 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 526 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 527 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc window_state->OnWMEvent(&event_right); window_state 528 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 529 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 532 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc EXPECT_TRUE(window_state->IsSnapped()); window_state 30 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Size GetMaximumSizeOfWindow(wm::WindowState* window_state) { window_state 31 ash/wm/maximize_mode/maximize_mode_window_state.cc DCHECK(window_state->CanMaximize()); window_state 34 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()).size(); window_state 36 ash/wm/maximize_mode/maximize_mode_window_state.cc aura::WindowDelegate* delegate = window_state->window()->delegate(); window_state 83 ash/wm/maximize_mode/maximize_mode_window_state.cc wm::WindowState* window_state, bool animated) { window_state 84 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent = GetMaximizedAndCenteredBounds(window_state); window_state 86 ash/wm/maximize_mode/maximize_mode_window_state.cc if (bounds_in_parent == window_state->window()->bounds()) window_state 90 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirect(bounds_in_parent); window_state 92 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirectAnimated(bounds_in_parent); window_state 109 ash/wm/maximize_mode/maximize_mode_window_state.cc void MaximizeModeWindowState::LeaveMaximizeMode(wm::WindowState* window_state) { window_state 112 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetStateObject(old_state_.Pass()); window_state 115 ash/wm/maximize_mode/maximize_mode_window_state.cc void MaximizeModeWindowState::OnWMEvent(wm::WindowState* window_state, window_state 129 ash/wm/maximize_mode/maximize_mode_window_state.cc MaximizeOrCenterWindow(window_state, true); window_state 134 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->Minimize(); window_state 146 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()).size()); window_state 147 ash/wm/maximize_mode/maximize_mode_window_state.cc if (bounds_in_parent != window_state->window()->bounds()) window_state 148 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirectAnimated(bounds_in_parent); window_state 152 ash/wm/maximize_mode/maximize_mode_window_state.cc MaximizeOrCenterWindow(window_state, true); window_state 157 ash/wm/maximize_mode/maximize_mode_window_state.cc MaximizeOrCenterWindow(window_state, false); window_state 167 ash/wm/maximize_mode/maximize_mode_window_state.cc wm::WindowState* window_state, window_state 174 ash/wm/maximize_mode/maximize_mode_window_state.cc MaximizeOrCenterWindow(window_state, true); window_state 177 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->set_can_be_dragged(false); window_state 180 ash/wm/maximize_mode/maximize_mode_window_state.cc void MaximizeModeWindowState::DetachState(wm::WindowState* window_state) { window_state 181 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->set_can_be_dragged(true); window_state 185 ash/wm/maximize_mode/maximize_mode_window_state.cc wm::WindowState* window_state, window_state 188 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->CanMaximize() ? wm::WINDOW_STATE_TYPE_MAXIMIZED : window_state 191 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent = GetMaximizedAndCenteredBounds(window_state); window_state 195 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->UpdateWindowShowStateFromStateType(); window_state 196 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->NotifyPreStateTypeChange(old_state_type); window_state 201 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirect(bounds_in_parent); window_state 203 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirectAnimated(bounds_in_parent); window_state 205 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->NotifyPostStateTypeChange(old_state_type); window_state 207 ash/wm/maximize_mode/maximize_mode_window_state.cc bounds_in_parent != window_state->window()->bounds()) { window_state 211 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirectAnimated(bounds_in_parent); window_state 213 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->SetBoundsDirect(bounds_in_parent); window_state 216 ash/wm/maximize_mode/maximize_mode_window_state.cc if ((window_state->window()->TargetVisibility() || window_state 218 ash/wm/maximize_mode/maximize_mode_window_state.cc !window_state->window()->layer()->visible()) { window_state 221 ash/wm/maximize_mode/maximize_mode_window_state.cc window_state->window()->Show(); window_state 20 ash/wm/maximize_mode/maximize_mode_window_state.h static void UpdateWindowPosition(wm::WindowState* window_state, window_state 32 ash/wm/maximize_mode/maximize_mode_window_state.h void LeaveMaximizeMode(wm::WindowState* window_state); window_state 35 ash/wm/maximize_mode/maximize_mode_window_state.h virtual void OnWMEvent(wm::WindowState* window_state, window_state 39 ash/wm/maximize_mode/maximize_mode_window_state.h virtual void AttachState(wm::WindowState* window_state, window_state 41 ash/wm/maximize_mode/maximize_mode_window_state.h virtual void DetachState(wm::WindowState* window_state) OVERRIDE; window_state 46 ash/wm/maximize_mode/maximize_mode_window_state.h void MaximizeOrCenterWindow(wm::WindowState* window_state, bool animate); window_state 82 ash/wm/maximize_mode/workspace_backdrop_delegate.cc wm::WindowState* window_state, window_state 46 ash/wm/maximize_mode/workspace_backdrop_delegate.h wm::WindowState* window_state, window_state 335 ash/wm/overview/window_selector_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window1.get()); window_state 336 ash/wm/overview/window_selector_unittest.cc window_state->Maximize(); window_state 374 ash/wm/overview/window_selector_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window1.get()); window_state 375 ash/wm/overview/window_selector_unittest.cc window_state->Minimize(); window_state 321 ash/wm/panels/panel_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(panel); window_state 322 ash/wm/panels/panel_layout_manager.cc if (window_state->IsMinimized()) window_state 323 ash/wm/panels/panel_layout_manager.cc window_state->Restore(); window_state 325 ash/wm/panels/panel_layout_manager.cc window_state->Minimize(); window_state 463 ash/wm/panels/panel_layout_manager.cc wm::WindowState* window_state, window_state 468 ash/wm/panels/panel_layout_manager.cc if (window_state->IsMinimized()) { window_state 469 ash/wm/panels/panel_layout_manager.cc MinimizePanel(window_state->window()); window_state 470 ash/wm/panels/panel_layout_manager.cc restore_windows_on_shelf_visible_->Remove(window_state->window()); window_state 472 ash/wm/panels/panel_layout_manager.cc restore_windows_on_shelf_visible_->Add(window_state->window()); window_state 477 ash/wm/panels/panel_layout_manager.cc if (window_state->IsMinimized()) window_state 478 ash/wm/panels/panel_layout_manager.cc MinimizePanel(window_state->window()); window_state 480 ash/wm/panels/panel_layout_manager.cc RestorePanel(window_state->window()); window_state 97 ash/wm/panels/panel_layout_manager.h wm::WindowState* window_state, window_state 48 ash/wm/panels/panel_window_resizer.cc wm::WindowState* window_state) { window_state 49 ash/wm/panels/panel_window_resizer.cc return new PanelWindowResizer(next_window_resizer, window_state); window_state 116 ash/wm/panels/panel_window_resizer.cc wm::WindowState* window_state) window_state 117 ash/wm/panels/panel_window_resizer.cc : WindowResizer(window_state), window_state 122 ash/wm/panels/panel_window_resizer.cc was_attached_(window_state->panel_attached()), window_state 30 ash/wm/panels/panel_window_resizer.h wm::WindowState* window_state); window_state 43 ash/wm/panels/panel_window_resizer.h wm::WindowState* window_state); window_state 100 ash/wm/panels/panel_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 101 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(window_state->panel_attached()); window_state 121 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_FALSE(window_state->panel_attached()); window_state 132 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_TRUE(window_state->panel_attached()); window_state 19 ash/wm/resize_handle_window_targeter.cc wm::WindowState* window_state = wm::GetWindowState(window_); window_state 20 ash/wm/resize_handle_window_targeter.cc OnPostWindowStateTypeChange(window_state, wm::WINDOW_STATE_TYPE_DEFAULT); window_state 21 ash/wm/resize_handle_window_targeter.cc window_state->AddObserver(this); window_state 33 ash/wm/resize_handle_window_targeter.cc wm::WindowState* window_state, window_state 35 ash/wm/resize_handle_window_targeter.cc if (window_state->IsMaximizedOrFullscreen()) { window_state 33 ash/wm/resize_handle_window_targeter.h wm::WindowState* window_state, window_state 106 ash/wm/toplevel_window_event_handler.cc virtual void OnPreWindowStateTypeChange(wm::WindowState* window_state, window_state 137 ash/wm/toplevel_window_event_handler.cc wm::WindowState* window_state, window_state 566 ash/wm/toplevel_window_event_handler.cc wm::WindowState* window_state = ash::wm::GetWindowState(window); window_state 572 ash/wm/toplevel_window_event_handler.cc if (window_state->CanMinimize()) { window_state 573 ash/wm/toplevel_window_event_handler.cc window_state->Minimize(); window_state 574 ash/wm/toplevel_window_event_handler.cc window_state->set_unminimize_to_restore_bounds(true); window_state 575 ash/wm/toplevel_window_event_handler.cc window_state->SetRestoreBoundsInParent(pre_drag_window_bounds_); window_state 579 ash/wm/toplevel_window_event_handler.cc if (window_state->CanMaximize()) { window_state 580 ash/wm/toplevel_window_event_handler.cc window_state->SetRestoreBoundsInParent(pre_drag_window_bounds_); window_state 581 ash/wm/toplevel_window_event_handler.cc window_state->Maximize(); window_state 585 ash/wm/toplevel_window_event_handler.cc if (window_state->CanSnap()) { window_state 586 ash/wm/toplevel_window_event_handler.cc window_state->SetRestoreBoundsInParent(pre_drag_window_bounds_); window_state 588 ash/wm/toplevel_window_event_handler.cc window_state->OnWMEvent(&event); window_state 592 ash/wm/toplevel_window_event_handler.cc if (window_state->CanSnap()) { window_state 593 ash/wm/toplevel_window_event_handler.cc window_state->SetRestoreBoundsInParent(pre_drag_window_bounds_); window_state 595 ash/wm/toplevel_window_event_handler.cc window_state->OnWMEvent(&event); window_state 402 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(target.get()); window_state 420 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_RIGHT_SNAPPED, window_state->GetStateType()); window_state 433 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 449 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 451 ash/wm/toplevel_window_event_handler_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 453 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Restore(); window_state 464 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 465 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->unminimize_to_restore_bounds()); window_state 467 ash/wm/toplevel_window_event_handler_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 505 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 506 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Activate(); window_state 519 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 520 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->unminimize_to_restore_bounds()); window_state 522 ash/wm/toplevel_window_event_handler_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 528 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(target.get()); window_state 552 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 570 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 652 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(target.get()); window_state 653 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Minimize(); window_state 654 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Restore(); window_state 672 ash/wm/toplevel_window_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(target.get()); window_state 673 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Maximize(); window_state 674 ash/wm/toplevel_window_event_handler_unittest.cc window_state->Restore(); window_state 287 ash/wm/video_detector_unittest.cc wm::WindowState window_state(window.get()); window_state 289 ash/wm/video_detector_unittest.cc window_state.OnWMEvent(&toggle_fullscreen_event); window_state 290 ash/wm/video_detector_unittest.cc ASSERT_TRUE(window_state.IsFullscreen()); window_state 304 ash/wm/video_detector_unittest.cc window_state.OnWMEvent(&toggle_fullscreen_event); window_state 305 ash/wm/video_detector_unittest.cc ASSERT_FALSE(window_state.IsFullscreen()); window_state 59 ash/wm/window_positioner.cc const wm::WindowState* window_state = wm::GetWindowState(window); window_state 60 ash/wm/window_positioner.cc return !window_state->is_dragged() && window_state->window_position_managed(); window_state 69 ash/wm/window_positioner.cc const wm::WindowState* window_state = wm::GetWindowState(window); window_state 70 ash/wm/window_positioner.cc return window_state->window_position_managed() && window_state 71 ash/wm/window_positioner.cc !window_state->IsMinimized() && window_state 72 ash/wm/window_positioner.cc !window_state->IsMaximized() && window_state 73 ash/wm/window_positioner.cc !window_state->bounds_changed_by_user(); window_state 463 ash/wm/window_positioner.cc wm::WindowState* window_state = wm::GetWindowState(windows[i]); window_state 465 ash/wm/window_positioner.cc if (window_state->IsMaximizedOrFullscreen()) window_state 467 ash/wm/window_positioner.cc if (window_state->IsNormalOrSnapped()) window_state 56 ash/wm/window_resizer.cc WindowResizer::WindowResizer(wm::WindowState* window_state) window_state 57 ash/wm/window_resizer.cc : window_state_(window_state) { window_state 38 ash/wm/window_resizer.h WindowResizer(wm::WindowState* window_state); window_state 59 ash/wm/window_state.h virtual void OnWMEvent(WindowState* window_state, const WMEvent* event) = 0; window_state 68 ash/wm/window_state.h virtual void AttachState(WindowState* window_state, window_state 74 ash/wm/window_state.h virtual void DetachState(WindowState* window_state) = 0; window_state 16 ash/wm/window_state_delegate.cc bool WindowStateDelegate::ToggleFullscreen(WindowState* window_state) { window_state 26 ash/wm/window_state_delegate.h virtual bool ToggleFullscreen(WindowState* window_state); window_state 27 ash/wm/window_state_observer.h virtual void OnPreWindowStateTypeChange(WindowState* window_state, window_state 33 ash/wm/window_state_observer.h virtual void OnPostWindowStateTypeChange(WindowState* window_state, window_state 26 ash/wm/window_state_unittest.cc virtual void OnWMEvent(WindowState* window_state, window_state 34 ash/wm/window_state_unittest.cc WindowState* window_state, window_state 38 ash/wm/window_state_unittest.cc window_state->Maximize(); window_state 42 ash/wm/window_state_unittest.cc virtual void DetachState(WindowState* window_state) OVERRIDE {} window_state 68 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 70 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_left); window_state 79 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_right); window_state 87 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_right); window_state 96 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_left); window_state 117 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 118 ash/wm/window_state_unittest.cc EXPECT_TRUE(window_state->CanSnap()); window_state 120 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_right); window_state 130 ash/wm/window_state_unittest.cc EXPECT_FALSE(window_state->CanSnap()); window_state 144 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 146 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_left); window_state 147 ash/wm/window_state_unittest.cc EXPECT_EQ(WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 158 ash/wm/window_state_unittest.cc EXPECT_EQ(WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 165 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 167 ash/wm/window_state_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 172 ash/wm/window_state_unittest.cc window_state->SetRestoreBoundsInScreen(restore_bounds); window_state 174 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_left); window_state 176 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_right); window_state 179 ash/wm/window_state_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 180 ash/wm/window_state_unittest.cc window_state->Restore(); window_state 184 ash/wm/window_state_unittest.cc window_state->Maximize(); window_state 188 ash/wm/window_state_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 190 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_left); window_state 195 ash/wm/window_state_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 197 ash/wm/window_state_unittest.cc window_state->Restore(); window_state 205 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 206 ash/wm/window_state_unittest.cc window_state->set_window_position_managed(true); window_state 211 ash/wm/window_state_unittest.cc window_state->Maximize(); window_state 213 ash/wm/window_state_unittest.cc window_state->OnWMEvent(&snap_right); window_state 226 ash/wm/window_state_unittest.cc EXPECT_TRUE(window_state->window_position_managed()); window_state 232 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 233 ash/wm/window_state_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 234 ash/wm/window_state_unittest.cc window_state->SetStateObject( window_state 236 ash/wm/window_state_unittest.cc window_state->GetStateType()))); window_state 237 ash/wm/window_state_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 244 ash/wm/window_state_unittest.cc WindowState* window_state = GetWindowState(window.get()); window_state 245 ash/wm/window_state_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 246 ash/wm/window_state_unittest.cc scoped_ptr<WindowState::State> old(window_state->SetStateObject( window_state 248 ash/wm/window_state_unittest.cc window_state->GetStateType()))).Pass()); window_state 249 ash/wm/window_state_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 250 ash/wm/window_state_unittest.cc window_state->SetStateObject(old.Pass()); window_state 251 ash/wm/window_state_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 34 ash/wm/window_util_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 35 ash/wm/window_util_unittest.cc EXPECT_FALSE(window_state->bounds_changed_by_user()); window_state 39 ash/wm/window_util_unittest.cc EXPECT_TRUE(window_state->bounds_changed_by_user()); window_state 433 ash/wm/workspace/multi_window_resize_controller.cc wm::WindowState* window_state = wm::GetWindowState(windows_.window1); window_state 434 ash/wm/workspace/multi_window_resize_controller.cc window_state->CreateDragDetails(windows_.window1, window_state 438 ash/wm/workspace/multi_window_resize_controller.cc window_resizer_.reset(WorkspaceWindowResizer::Create(window_state, windows)); window_state 34 ash/wm/workspace/workspace_event_handler.h void HandleVerticalResizeDoubleClick(wm::WindowState* window_state, window_state 116 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 118 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 126 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 137 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 172 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 186 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 202 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 204 ash/wm/workspace/workspace_event_handler_unittest.cc window_state->OnWMEvent(&snap_event); window_state 219 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 227 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 294 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 295 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 300 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 306 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 316 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 321 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 329 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 332 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 338 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 346 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 349 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 354 ash/wm/workspace/workspace_event_handler_unittest.cc window_state->OnWMEvent(&snap_event); window_state 355 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsSnapped()); window_state 358 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 361 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsNormalStateType()); window_state 404 ash/wm/workspace/workspace_event_handler_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 405 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 412 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 417 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 71 ash/wm/workspace/workspace_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(child); window_state 73 ash/wm/workspace/workspace_layout_manager.cc window_state->OnWMEvent(&event); window_state 76 ash/wm/workspace/workspace_layout_manager.cc window_state->AddObserver(this); window_state 102 ash/wm/workspace/workspace_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(child); window_state 104 ash/wm/workspace/workspace_layout_manager.cc if (visible && window_state->IsMinimized()) window_state 105 ash/wm/workspace/workspace_layout_manager.cc window_state->Unminimize(); window_state 120 ash/wm/workspace/workspace_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(child); window_state 122 ash/wm/workspace/workspace_layout_manager.cc window_state->OnWMEvent(&event); window_state 201 ash/wm/workspace/workspace_layout_manager.cc wm::WindowState* window_state = wm::GetWindowState(gained_active); window_state 202 ash/wm/workspace/workspace_layout_manager.cc if (window_state && window_state->IsMinimized() && window_state 204 ash/wm/workspace/workspace_layout_manager.cc window_state->Unminimize(); window_state 205 ash/wm/workspace/workspace_layout_manager.cc DCHECK(!window_state->IsMinimized()); window_state 215 ash/wm/workspace/workspace_layout_manager.cc wm::WindowState* window_state, window_state 219 ash/wm/workspace/workspace_layout_manager.cc if (window_state->IsFullscreen() || window_state 226 ash/wm/workspace/workspace_layout_manager.cc backdrop_delegate_->OnPostWindowStateTypeChange(window_state, old_type); window_state 90 ash/wm/workspace/workspace_layout_manager.h wm::WindowState* window_state, window_state 114 ash/wm/workspace/workspace_layout_manager.h void UpdateBoundsFromStateType(wm::WindowState* window_state, window_state 119 ash/wm/workspace/workspace_layout_manager.h bool SetMaximizedOrFullscreenBounds(wm::WindowState* window_state); window_state 40 ash/wm/workspace/workspace_layout_manager_delegate.h virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state, window_state 105 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 108 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100)); window_state 109 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Minimize(); window_state 110 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 111 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("0,0 100x100", window_state->GetRestoreBoundsInScreen().ToString()); window_state 121 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Minimize(); window_state 123 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100)); window_state 124 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 129 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Minimize(); window_state 131 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 164 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 167 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 168 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(-100, -100, 30, 40)); window_state 169 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 177 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Minimize(); window_state 192 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(-100, -100, 30, 40)); window_state 193 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 211 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 212 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(400, 0, 30, 40)); window_state 215 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 219 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 225 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(280, 0, 30, 40)); window_state 226 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 230 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 261 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 262 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(400, 0, 30, 40)); window_state 270 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 276 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(280, 0, 30, 40)); window_state 282 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 336 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 337 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Activate(); window_state 345 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 347 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 356 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 357 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Activate(); window_state 362 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 694 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 698 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("10,20 30x40", window_state->GetRestoreBoundsInParent().ToString()); window_state 703 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 710 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 711 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInParent(gfx::Rect(10, 11, 12, 13)); window_state 715 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ("10,11 12x13", window_state->GetRestoreBoundsInParent().ToString()); window_state 726 ash/wm/workspace/workspace_layout_manager_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window.get()); window_state 728 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Maximize(); window_state 730 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->GetRestoreBoundsInParent().ToString()); window_state 732 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Minimize(); window_state 734 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->GetRestoreBoundsInParent().ToString()); window_state 740 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->GetRestoreBoundsInParent().ToString()); window_state 741 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 743 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->Restore(); window_state 52 ash/wm/workspace/workspace_window_resizer.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 55 ash/wm/workspace/workspace_window_resizer.cc if ((!window_state->CanResize() && window_component != HTCAPTION) || window_state 56 ash/wm/workspace/workspace_window_resizer.cc window_state->drag_details()) { window_state 60 ash/wm/workspace/workspace_window_resizer.cc if (window_component == HTCAPTION && !window_state->can_be_dragged()) window_state 76 ash/wm/workspace/workspace_window_resizer.cc if (!window_state->IsNormalOrSnapped()) window_state 84 ash/wm/workspace/workspace_window_resizer.cc window_state->CreateDragDetails(window, point_in_parent, window_component, window_state 91 ash/wm/workspace/workspace_window_resizer.cc window_state, std::vector<aura::Window*>()); window_state 93 ash/wm/workspace/workspace_window_resizer.cc window_resizer = DefaultWindowResizer::Create(window_state); window_state 95 ash/wm/workspace/workspace_window_resizer.cc window_resizer = DragWindowResizer::Create(window_resizer, window_state); window_state 97 ash/wm/workspace/workspace_window_resizer.cc window_resizer = PanelWindowResizer::Create(window_resizer, window_state); window_state 103 ash/wm/workspace/workspace_window_resizer.cc window_resizer = DockedWindowResizer::Create(window_resizer, window_state); window_state 343 ash/wm/workspace/workspace_window_resizer.cc wm::WindowState* window_state, window_state 345 ash/wm/workspace/workspace_window_resizer.cc return new WorkspaceWindowResizer(window_state, attached_windows); window_state 368 ash/wm/workspace/workspace_window_resizer.cc window_state()->ClearRestoreBounds(); window_state 414 ash/wm/workspace/workspace_window_resizer.cc window_state()->set_bounds_changed_by_user(true); window_state 420 ash/wm/workspace/workspace_window_resizer.cc if (window_state()->GetStateType() != details().initial_state_type) window_state 425 ash/wm/workspace/workspace_window_resizer.cc if (!window_state()->HasRestoreBounds()) { window_state 428 ash/wm/workspace/workspace_window_resizer.cc window_state()->SetRestoreBoundsInScreen( window_state 439 ash/wm/workspace/workspace_window_resizer.cc window_state()->OnWMEvent(&event); window_state 447 ash/wm/workspace/workspace_window_resizer.cc if (!snapped && window_state()->IsSnapped()) { window_state 453 ash/wm/workspace/workspace_window_resizer.cc !AreBoundsValidSnappedBounds(window_state()->GetStateType(), window_state 462 ash/wm/workspace/workspace_window_resizer.cc window_state()->ClearRestoreBounds(); window_state 463 ash/wm/workspace/workspace_window_resizer.cc window_state()->Restore(); window_state 469 ash/wm/workspace/workspace_window_resizer.cc window_state()->set_bounds_changed_by_user(initial_bounds_changed_by_user_); window_state 477 ash/wm/workspace/workspace_window_resizer.cc window_state()->SetRestoreBoundsInScreen(details().restore_bounds); window_state 502 ash/wm/workspace/workspace_window_resizer.cc wm::WindowState* window_state, window_state 504 ash/wm/workspace/workspace_window_resizer.cc : WindowResizer(window_state), window_state 741 ash/wm/workspace/workspace_window_resizer.cc if (!window_state()->CanResize()) window_state 922 ash/wm/workspace/workspace_window_resizer.cc const bool can_snap = snap_type_ != SNAP_NONE && window_state()->CanSnap(); window_state 1020 ash/wm/workspace/workspace_window_resizer.cc window_state()->set_bounds_changed_by_user(false); window_state 1026 ash/wm/workspace/workspace_window_resizer.cc window_state()->set_bounds_changed_by_user(true); window_state 56 ash/wm/workspace/workspace_window_resizer.h wm::WindowState* window_state, window_state 66 ash/wm/workspace/workspace_window_resizer.h WorkspaceWindowResizer(wm::WindowState* window_state, window_state 159 ash/wm/workspace/workspace_window_resizer.h wm::WindowState* window_state() { return window_state_; } window_state 162 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 163 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->CreateDragDetails( window_state 165 ash/wm/workspace/workspace_window_resizer_unittest.cc return WorkspaceWindowResizer::Create(window_state, attached_windows); window_state 561 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window_.get()); window_state 575 ash/wm/workspace/workspace_window_resizer_unittest.cc ASSERT_TRUE(window_state->HasRestoreBounds()); window_state 577 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 591 ash/wm/workspace/workspace_window_resizer_unittest.cc ASSERT_TRUE(window_state->HasRestoreBounds()); window_state 593 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 601 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->Restore(); window_state 626 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 675 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = ash::wm::GetWindowState(window_.get()); window_state 681 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->OnWMEvent(&snap_event); window_state 682 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 685 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(window_state->GetRestoreBoundsInParent().ToString(), window_state 693 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_NORMAL, window_state->GetStateType()); window_state 695 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 700 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = ash::wm::GetWindowState(window_.get()); window_state 707 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->OnWMEvent(&snap_event); window_state 708 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 711 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(window_state->GetRestoreBoundsInParent().ToString(), window_state 721 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 724 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(window_state->GetRestoreBoundsInParent().ToString(), window_state 736 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_LEFT_SNAPPED, window_state->GetStateType()); window_state 738 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(window_state->GetRestoreBoundsInParent().ToString(), window_state 749 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(wm::WINDOW_STATE_TYPE_NORMAL, window_state->GetStateType()); window_state 753 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 1189 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window_.get()); window_state 1190 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(96, 112, 320, 160)); window_state 1200 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 1208 ash/wm/workspace/workspace_window_resizer_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window_.get()); window_state 1209 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(96, 112, 320, 160)); window_state 1219 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->GetRestoreBoundsInScreen().ToString()); window_state 82 ash/wm/workspace_controller.cc wm::WindowState* window_state = wm::GetWindowState(*i); window_state 83 ash/wm/workspace_controller.cc if (window_state->ignored_by_shelf()) window_state 88 ash/wm/workspace_controller.cc if (window_state->IsMaximized()) window_state 108 ash/wm/workspace_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(window); window_state 109 ash/wm/workspace_controller_unittest.cc window_state->set_window_position_managed(true); window_state 167 ash/wm/workspace_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 169 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 173 ash/wm/workspace_controller_unittest.cc EXPECT_FALSE(window_state->HasRestoreBounds()); window_state 298 ash/wm/workspace_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 300 ash/wm/workspace_controller_unittest.cc ASSERT_TRUE(window_state->HasRestoreBounds()); window_state 301 ash/wm/workspace_controller_unittest.cc EXPECT_EQ("0,0 250x251", window_state->GetRestoreBoundsInScreen().ToString()); window_state 443 ash/wm/workspace_controller_unittest.cc wm::WindowState* window_state = wm::GetWindowState(w1.get()); window_state 445 ash/wm/workspace_controller_unittest.cc gfx::Rect restore = window_state->GetRestoreBoundsInScreen(); window_state 448 ash/wm/workspace_controller_unittest.cc window_state->ClearRestoreBounds(); window_state 2355 chrome/browser/chromeos/events/event_rewriter_unittest.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window.get()); window_state 2356 chrome/browser/chromeos/events/event_rewriter_unittest.cc window_state->Activate(); window_state 2367 chrome/browser/chromeos/events/event_rewriter_unittest.cc window_state->set_top_row_keys_are_function_keys(true); window_state 2380 chrome/browser/chromeos/events/event_rewriter_unittest.cc window_state->set_top_row_keys_are_function_keys(false); window_state 184 chrome/browser/chromeos/login/screen_locker_browsertest.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState( window_state 191 chrome/browser/chromeos/login/screen_locker_browsertest.cc EXPECT_FALSE(window_state->hide_shelf_when_fullscreen()); window_state 200 chrome/browser/chromeos/login/screen_locker_browsertest.cc EXPECT_FALSE(window_state->hide_shelf_when_fullscreen()); window_state 225 chrome/browser/chromeos/login/screen_locker_browsertest.cc EXPECT_TRUE(window_state->hide_shelf_when_fullscreen()); window_state 41 chrome/browser/extensions/window_controller.cc std::string window_state; window_state 43 chrome/browser/extensions/window_controller.cc window_state = keys::kShowStateValueMinimized; window_state 45 chrome/browser/extensions/window_controller.cc window_state = keys::kShowStateValueFullscreen; window_state 47 chrome/browser/extensions/window_controller.cc window_state = keys::kShowStateValueMaximized; window_state 49 chrome/browser/extensions/window_controller.cc window_state = keys::kShowStateValueNormal; window_state 51 chrome/browser/extensions/window_controller.cc result->SetString(keys::kShowStateKey, window_state); window_state 52 chrome/browser/ui/ash/accelerator_commands_browsertest.cc bool IsInImmersiveFullscreen(ash::wm::WindowState* window_state) { window_state 53 chrome/browser/ui/ash/accelerator_commands_browsertest.cc return window_state->IsFullscreen() && window_state 54 chrome/browser/ui/ash/accelerator_commands_browsertest.cc !window_state->hide_shelf_when_fullscreen(); window_state 70 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::WindowState* window_state = ash::wm::GetActiveWindowState(); window_state 71 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ASSERT_TRUE(window_state); window_state 74 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 76 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 78 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 81 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 82 chrome/browser/ui/ash/accelerator_commands_browsertest.cc Browser* browser = chrome::FindBrowserWithWindow(window_state->window()); window_state 85 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 87 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 88 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsMaximized()); window_state 90 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 91 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsMaximized()); window_state 110 chrome/browser/ui/ash/accelerator_commands_browsertest.cc void SetToInitialShowState(ash::wm::WindowState* window_state) { window_state 112 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state->Maximize(); window_state 114 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state->Restore(); window_state 118 chrome/browser/ui/ash/accelerator_commands_browsertest.cc bool IsInitialShowState(const ash::wm::WindowState* window_state) const { window_state 120 chrome/browser/ui/ash/accelerator_commands_browsertest.cc return window_state->IsMaximized(); window_state 122 chrome/browser/ui/ash/accelerator_commands_browsertest.cc return window_state->IsNormalStateType(); window_state 149 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::WindowState* window_state = window_state 151 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ASSERT_TRUE(window_state->IsActive()); window_state 152 chrome/browser/ui/ash/accelerator_commands_browsertest.cc SetToInitialShowState(window_state); window_state 153 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 156 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 157 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_EQ(put_window_in_immersive(), IsInImmersiveFullscreen(window_state)); window_state 160 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 164 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state->window()->SetProperty(aura::client::kCanMaximizeKey, false); window_state 166 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 176 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state = window_state 178 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ASSERT_TRUE(window_state->IsActive()); window_state 179 chrome/browser/ui/ash/accelerator_commands_browsertest.cc SetToInitialShowState(window_state); window_state 180 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 183 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 184 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_EQ(put_window_in_immersive(), IsInImmersiveFullscreen(window_state)); window_state 187 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 195 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state = window_state 197 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ASSERT_TRUE(window_state->IsActive()); window_state 198 chrome/browser/ui/ash/accelerator_commands_browsertest.cc SetToInitialShowState(window_state); window_state 199 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 202 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 203 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_EQ(put_window_in_immersive(), IsInImmersiveFullscreen(window_state)); window_state 206 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 216 chrome/browser/ui/ash/accelerator_commands_browsertest.cc window_state = ash::wm::GetWindowState(widget->GetNativeWindow()); window_state 217 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ASSERT_TRUE(window_state->IsActive()); window_state 218 chrome/browser/ui/ash/accelerator_commands_browsertest.cc SetToInitialShowState(window_state); window_state 219 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(IsInitialShowState(window_state)); window_state 222 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_TRUE(window_state->IsFullscreen()); window_state 223 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_EQ(put_window_in_immersive(), IsInImmersiveFullscreen(window_state)); window_state 228 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(window_state->IsFullscreen()); window_state 306 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::WindowState* window_state = window_state 309 chrome/browser/ui/ash/accelerator_commands_browsertest.cc IsInImmersiveFullscreen(window_state)); window_state 330 chrome/browser/ui/ash/accelerator_commands_browsertest.cc ash::wm::WindowState* window_state = window_state 332 chrome/browser/ui/ash/accelerator_commands_browsertest.cc EXPECT_FALSE(IsInImmersiveFullscreen(window_state)); window_state 1914 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::wm::WindowState* window_state = ash::wm::GetActiveWindowState(); window_state 1915 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc window_state->Minimize(); window_state 1916 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_TRUE(window_state->IsMinimized()); window_state 1924 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_FALSE(window_state->IsMinimized()); window_state 619 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window); window_state 623 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_state->IsMinimized()) { window_state 626 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc window_state->Unminimize(); window_state 642 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc ash::wm::WindowState* window_state = ash::wm::GetWindowState(window); window_state 644 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc !window_state->IsMinimized()) { window_state 1201 chrome/browser/ui/browser_command_controller.cc WindowState window_state = WINDOW_STATE_NOT_FULLSCREEN; window_state 1203 chrome/browser/ui/browser_command_controller.cc window_state = WINDOW_STATE_FULLSCREEN; window_state 1206 chrome/browser/ui/browser_command_controller.cc window_state = WINDOW_STATE_METRO_SNAP; window_state 1211 chrome/browser/ui/browser_command_controller.cc show_main_ui && window_state == WINDOW_STATE_NOT_FULLSCREEN; window_state 1220 chrome/browser/ui/browser_command_controller.cc window_state == WINDOW_STATE_NOT_FULLSCREEN); window_state 1261 chrome/browser/ui/browser_command_controller.cc bool fullscreen_enabled = window_state != WINDOW_STATE_METRO_SNAP; window_state 1269 chrome/browser/ui/browser_command_controller.cc if (window_state == WINDOW_STATE_NOT_FULLSCREEN && window_state 152 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE { window_state 154 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc DCHECK(window_state->IsFullscreen() || window_state->CanMaximize()); window_state 155 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc if (window_state->IsFullscreen()) window_state 157 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc else if (window_state->CanMaximize()) window_state 164 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc ash::wm::WindowState* window_state, window_state 166 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc if (!window_state->IsFullscreen() && !window_state->IsMinimized() && window_state 585 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc ash::wm::WindowState* window_state = window_state 587 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc window_state->set_hide_shelf_when_fullscreen(fullscreen_types != window_state 34 chrome/browser/ui/views/frame/browser_frame_ash.cc virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE { window_state 35 chrome/browser/ui/views/frame/browser_frame_ash.cc DCHECK(window_state->IsFullscreen() || window_state->CanMaximize()); window_state 37 chrome/browser/ui/views/frame/browser_frame_ash.cc if (!window_state->IsFullscreen() && !window_state->CanMaximize()) window_state 62 chrome/browser/ui/views/frame/browser_frame_ash.cc ash::wm::WindowState* window_state = window_state 64 chrome/browser/ui/views/frame/browser_frame_ash.cc window_state->SetDelegate( window_state 76 chrome/browser/ui/views/frame/browser_frame_ash.cc window_state->set_can_consume_system_keys(browser->is_app()); window_state 217 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc ash::wm::WindowState* window_state, window_state 223 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc !window_state->IsFullscreen() && window_state 224 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc !window_state->IsMinimized()) { window_state 66 chrome/browser/ui/views/frame/immersive_mode_controller_ash.h ash::wm::WindowState* window_state, window_state 97 chrome/browser/ui/views/tabs/tab_drag_controller.cc ash::wm::WindowState* window_state = window_state 99 chrome/browser/ui/views/tabs/tab_drag_controller.cc return window_state->IsDocked() || window_state->IsSnapped(); window_state 2302 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ash::wm::WindowState* window_state = window_state 2308 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(window_state->IsDocked()); window_state 2309 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(window_state->IsSnapped()); window_state 2312 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_FALSE(window_state->IsDocked()); window_state 2313 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_TRUE(window_state->IsSnapped());