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

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

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | Annotate | Revision Log
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 "ash/screen_ash.h" 7 #include "ash/screen_ash.h"
8 #include "ash/wm/window_properties.h"
8 #include "ash/wm/window_util.h" 9 #include "ash/wm/window_util.h"
9 #include "ash/wm/window_properties.h"
10 #include "ash/wm/workspace/workspace.h" 10 #include "ash/wm/workspace/workspace.h"
11 #include "ash/wm/workspace/workspace_manager.h" 11 #include "ash/wm/workspace/workspace_manager.h"
12 #include "ui/aura/client/aura_constants.h" 12 #include "ui/aura/client/aura_constants.h"
13 #include "ui/aura/root_window.h" 13 #include "ui/aura/root_window.h"
14 #include "ui/aura/window.h" 14 #include "ui/aura/window.h"
15 #include "ui/aura/window_observer.h" 15 #include "ui/aura/window_observer.h"
16 #include "ui/base/event.h" 16 #include "ui/base/events/event.h"
17 #include "ui/base/ui_base_types.h" 17 #include "ui/base/ui_base_types.h"
18 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect.h"
19 19
20 namespace ash { 20 namespace ash {
21 namespace internal { 21 namespace internal {
22 22
23 WorkspaceLayoutManager::WorkspaceLayoutManager( 23 WorkspaceLayoutManager::WorkspaceLayoutManager(
24 aura::RootWindow* root_window, 24 aura::RootWindow* root_window,
25 WorkspaceManager* workspace_manager) 25 WorkspaceManager* workspace_manager)
26 : BaseLayoutManager(root_window), 26 : BaseLayoutManager(root_window),
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 107 }
108 BaseLayoutManager::ShowStateChanged(window, last_show_state); 108 BaseLayoutManager::ShowStateChanged(window, last_show_state);
109 workspace_manager_->ShowStateChanged(window); 109 workspace_manager_->ShowStateChanged(window);
110 // As BaseLayoutManager::ShowStateChanged() may change the visibility of the 110 // As BaseLayoutManager::ShowStateChanged() may change the visibility of the
111 // window we need to invoke UpdateShelfVisibility() after ShowStateChanged(). 111 // window we need to invoke UpdateShelfVisibility() after ShowStateChanged().
112 workspace_manager_->UpdateShelfVisibility(); 112 workspace_manager_->UpdateShelfVisibility();
113 } 113 }
114 114
115 } // namespace internal 115 } // namespace internal
116 } // namespace ash 116 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_event_filter.cc ('k') | ash/wm/workspace/workspace_layout_manager2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698