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

Side by Side Diff: ash/wm/activation_controller.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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/test/test_suite.cc ('k') | ash/wm/activation_controller_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/activation_controller.h" 5 #include "ash/wm/activation_controller.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "ash/wm/window_modality_controller.h" 9 #include "ash/wm/window_modality_controller.h"
10 #include "ash/wm/window_util.h" 10 #include "ash/wm/window_util.h"
11 #include "base/auto_reset.h" 11 #include "base/auto_reset.h"
12 #include "ui/aura/client/activation_delegate.h" 12 #include "ui/aura/client/activation_delegate.h"
13 #include "ui/aura/client/aura_constants.h" 13 #include "ui/aura/client/aura_constants.h"
14 #include "ui/aura/env.h" 14 #include "ui/aura/env.h"
15 #include "ui/aura/root_window.h" 15 #include "ui/aura/root_window.h"
16 #include "ui/aura/window.h" 16 #include "ui/aura/window.h"
17 #include "ui/aura/window_delegate.h" 17 #include "ui/aura/window_delegate.h"
18 #include "ui/base/ui_base_types.h" 18 #include "ui/base/ui_base_types.h"
19 #include "ui/gfx/compositor/layer.h" 19 #include "ui/compositor/layer.h"
20 20
21 namespace ash { 21 namespace ash {
22 namespace internal { 22 namespace internal {
23 namespace { 23 namespace {
24 24
25 // These are the list of container ids of containers which may contain windows 25 // These are the list of container ids of containers which may contain windows
26 // that need to be activated in the order that they should be activated. 26 // that need to be activated in the order that they should be activated.
27 const int kWindowContainerIds[] = { 27 const int kWindowContainerIds[] = {
28 kShellWindowId_LockSystemModalContainer, 28 kShellWindowId_LockSystemModalContainer,
29 kShellWindowId_SettingBubbleContainer, 29 kShellWindowId_SettingBubbleContainer,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (*i != ignore && 318 if (*i != ignore &&
319 CanActivateWindowWithEvent(*i, NULL, CURRENT_VISIBILITY) && 319 CanActivateWindowWithEvent(*i, NULL, CURRENT_VISIBILITY) &&
320 !wm::IsWindowMinimized(*i)) 320 !wm::IsWindowMinimized(*i))
321 return *i; 321 return *i;
322 } 322 }
323 return NULL; 323 return NULL;
324 } 324 }
325 325
326 } // namespace internal 326 } // namespace internal
327 } // namespace ash 327 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_suite.cc ('k') | ash/wm/activation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698