Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: ash/wm/workspace/workspace_layout_manager.cc

Issue 1892703002: Moves WmEvent to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/workspace/workspace_layout_manager.h" 5 #include "ash/wm/workspace/workspace_layout_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/screen_util.h" 10 #include "ash/screen_util.h"
11 #include "ash/session/session_state_delegate.h" 11 #include "ash/session/session_state_delegate.h"
12 #include "ash/shell.h" 12 #include "ash/shell.h"
13 #include "ash/wm/always_on_top_controller.h" 13 #include "ash/wm/always_on_top_controller.h"
14 #include "ash/wm/common/wm_event.h"
14 #include "ash/wm/common/workspace/workspace_layout_manager_delegate.h" 15 #include "ash/wm/common/workspace/workspace_layout_manager_delegate.h"
15 #include "ash/wm/window_animations.h" 16 #include "ash/wm/window_animations.h"
16 #include "ash/wm/window_positioner.h" 17 #include "ash/wm/window_positioner.h"
17 #include "ash/wm/window_properties.h" 18 #include "ash/wm/window_properties.h"
18 #include "ash/wm/window_state.h" 19 #include "ash/wm/window_state.h"
19 #include "ash/wm/window_util.h" 20 #include "ash/wm/window_util.h"
20 #include "ash/wm/wm_event.h"
21 #include "ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h" 21 #include "ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
22 #include "ui/aura/client/aura_constants.h" 22 #include "ui/aura/client/aura_constants.h"
23 #include "ui/aura/window.h" 23 #include "ui/aura/window.h"
24 #include "ui/aura/window_observer.h" 24 #include "ui/aura/window_observer.h"
25 #include "ui/base/ui_base_types.h" 25 #include "ui/base/ui_base_types.h"
26 #include "ui/compositor/layer.h" 26 #include "ui/compositor/layer.h"
27 #include "ui/events/event.h" 27 #include "ui/events/event.h"
28 #include "ui/gfx/screen.h" 28 #include "ui/gfx/screen.h"
29 #include "ui/keyboard/keyboard_controller_observer.h" 29 #include "ui/keyboard/keyboard_controller_observer.h"
30 #include "ui/wm/core/window_util.h" 30 #include "ui/wm/core/window_util.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 return; 345 return;
346 bool is_fullscreen = GetRootWindowController( 346 bool is_fullscreen = GetRootWindowController(
347 window_->GetRootWindow())->GetWindowForFullscreenMode() != NULL; 347 window_->GetRootWindow())->GetWindowForFullscreenMode() != NULL;
348 if (is_fullscreen != is_fullscreen_) { 348 if (is_fullscreen != is_fullscreen_) {
349 delegate_->OnFullscreenStateChanged(is_fullscreen); 349 delegate_->OnFullscreenStateChanged(is_fullscreen);
350 is_fullscreen_ = is_fullscreen; 350 is_fullscreen_ = is_fullscreen;
351 } 351 }
352 } 352 }
353 353
354 } // namespace ash 354 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_event_handler_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698