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

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

Issue 14222019: Trying to activate a window in a workspace other than the current is ignored while a system modal d… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nits Created 7 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
« no previous file with comments | « ash/wm/workspace/workspace_manager_unittest.cc ('k') | ash/wm/workspace_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_WORKSPACE_CONTROLLER_H_ 5 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_
6 #define ASH_WM_WORKSPACE_CONTROLLER_H_ 6 #define ASH_WM_WORKSPACE_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/workspace/workspace_types.h" 9 #include "ash/wm/workspace/workspace_types.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // See description in WorkspaceManager::GetParentForNewWindow(). 45 // See description in WorkspaceManager::GetParentForNewWindow().
46 aura::Window* GetParentForNewWindow(aura::Window* window); 46 aura::Window* GetParentForNewWindow(aura::Window* window);
47 47
48 // Starts the animation that occurs on first login. 48 // Starts the animation that occurs on first login.
49 void DoInitialAnimation(); 49 void DoInitialAnimation();
50 50
51 // aura::client::ActivationChangeObserver overrides: 51 // aura::client::ActivationChangeObserver overrides:
52 virtual void OnWindowActivated(aura::Window* gained_active, 52 virtual void OnWindowActivated(aura::Window* gained_active,
53 aura::Window* lost_active) OVERRIDE; 53 aura::Window* lost_active) OVERRIDE;
54 virtual void OnAttemptToReactivateWindow(
55 aura::Window* request_active,
56 aura::Window* actual_active) OVERRIDE;
54 57
55 private: 58 private:
56 friend class WorkspaceControllerTestHelper; 59 friend class WorkspaceControllerTestHelper;
57 60
58 aura::Window* viewport_; 61 aura::Window* viewport_;
59 62
60 scoped_ptr<WorkspaceManager> workspace_manager_; 63 scoped_ptr<WorkspaceManager> workspace_manager_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); 65 DISALLOW_COPY_AND_ASSIGN(WorkspaceController);
63 }; 66 };
64 67
65 } // namespace internal 68 } // namespace internal
66 } // namespace ash 69 } // namespace ash
67 70
68 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ 71 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_manager_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698