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

Side by Side Diff: ash/wm/window_cycle_controller.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
« no previous file with comments | « ash/wm/user_activity_detector_unittest.cc ('k') | ash/wm/window_manager_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/window_cycle_controller.h" 5 #include "ash/wm/window_cycle_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
11 #include "ash/wm/activation_controller.h" 11 #include "ash/wm/activation_controller.h"
12 #include "ash/wm/window_cycle_list.h" 12 #include "ash/wm/window_cycle_list.h"
13 #include "ash/wm/window_util.h" 13 #include "ash/wm/window_util.h"
14 #include "ash/wm/workspace_controller.h" 14 #include "ash/wm/workspace_controller.h"
15 #include "ui/aura/event_filter.h" 15 #include "ui/aura/event_filter.h"
16 #include "ui/aura/root_window.h" 16 #include "ui/aura/root_window.h"
17 #include "ui/base/event.h" 17 #include "ui/base/events/event.h"
18 18
19 namespace ash { 19 namespace ash {
20 20
21 namespace { 21 namespace {
22 22
23 // List of containers whose children we will cycle through. 23 // List of containers whose children we will cycle through.
24 const int kContainerIds[] = { 24 const int kContainerIds[] = {
25 internal::kShellWindowId_DefaultContainer, 25 internal::kShellWindowId_DefaultContainer,
26 internal::kShellWindowId_AlwaysOnTopContainer 26 internal::kShellWindowId_AlwaysOnTopContainer
27 }; 27 };
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 mru_windows_.remove(window); 314 mru_windows_.remove(window);
315 if (window->id() == internal::kShellWindowId_WorkspaceContainer) 315 if (window->id() == internal::kShellWindowId_WorkspaceContainer)
316 window->RemoveObserver(this); 316 window->RemoveObserver(this);
317 } 317 }
318 318
319 void WindowCycleController::OnWindowDestroying(aura::Window* window) { 319 void WindowCycleController::OnWindowDestroying(aura::Window* window) {
320 window->RemoveObserver(this); 320 window->RemoveObserver(this);
321 } 321 }
322 322
323 } // namespace ash 323 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/user_activity_detector_unittest.cc ('k') | ash/wm/window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698