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

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

Issue 9719037: Aura: Add non-browser windows into the list of "Alt + Tab" cycle list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 8 years, 9 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 | « no previous file | ash/wm/activation_controller.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 #ifndef ASH_WM_ACTIVATION_CONTROLLER_H_ 5 #ifndef ASH_WM_ACTIVATION_CONTROLLER_H_
6 #define ASH_WM_ACTIVATION_CONTROLLER_H_ 6 #define ASH_WM_ACTIVATION_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 22 matching lines...) Expand all
33 // NULL if there is no event. 33 // NULL if there is no event.
34 static aura::Window* GetActivatableWindow(aura::Window* window, 34 static aura::Window* GetActivatableWindow(aura::Window* window,
35 const aura::Event* event); 35 const aura::Event* event);
36 36
37 // Overridden from aura::client::ActivationClient: 37 // Overridden from aura::client::ActivationClient:
38 virtual void ActivateWindow(aura::Window* window) OVERRIDE; 38 virtual void ActivateWindow(aura::Window* window) OVERRIDE;
39 virtual void DeactivateWindow(aura::Window* window) OVERRIDE; 39 virtual void DeactivateWindow(aura::Window* window) OVERRIDE;
40 virtual aura::Window* GetActiveWindow() OVERRIDE; 40 virtual aura::Window* GetActiveWindow() OVERRIDE;
41 virtual bool OnWillFocusWindow(aura::Window* window, 41 virtual bool OnWillFocusWindow(aura::Window* window,
42 const aura::Event* event) OVERRIDE; 42 const aura::Event* event) OVERRIDE;
43 virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE;
43 44
44 // Overridden from aura::WindowObserver: 45 // Overridden from aura::WindowObserver:
45 virtual void OnWindowVisibilityChanged(aura::Window* window, 46 virtual void OnWindowVisibilityChanged(aura::Window* window,
46 bool visible) OVERRIDE; 47 bool visible) OVERRIDE;
47 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 48 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
48 49
49 // Overridden from aura::EnvObserver: 50 // Overridden from aura::EnvObserver:
50 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; 51 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE;
51 52
52 // Overridden from aura::RootWindowObserver: 53 // Overridden from aura::RootWindowObserver:
(...skipping 21 matching lines...) Expand all
74 // change notifications causing activation. 75 // change notifications causing activation.
75 bool updating_activation_; 76 bool updating_activation_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(ActivationController); 78 DISALLOW_COPY_AND_ASSIGN(ActivationController);
78 }; 79 };
79 80
80 } // namespace internal 81 } // namespace internal
81 } // namespace ash 82 } // namespace ash
82 83
83 #endif // ASH_WM_ACTIVATION_CONTROLLER_H_ 84 #endif // ASH_WM_ACTIVATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/activation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698