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

Side by Side Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // To address that, all transient children (and their children) are remembered 52 // To address that, all transient children (and their children) are remembered
53 // in |transient_window_to_visibility_| and monitored to keep track of the 53 // in |transient_window_to_visibility_| and monitored to keep track of the
54 // visibility changes from the owning user. This way the visibility can be 54 // visibility changes from the owning user. This way the visibility can be
55 // changed back to its requested state upon showing by us - or when the window 55 // changed back to its requested state upon showing by us - or when the window
56 // gets detached from its current owning parent. 56 // gets detached from its current owning parent.
57 class MultiUserWindowManagerChromeOS 57 class MultiUserWindowManagerChromeOS
58 : public MultiUserWindowManager, 58 : public MultiUserWindowManager,
59 public ash::SessionStateObserver, 59 public ash::SessionStateObserver,
60 public aura::WindowObserver, 60 public aura::WindowObserver,
61 public content::NotificationObserver, 61 public content::NotificationObserver,
62 public views::corewm::TransientWindowObserver { 62 public wm::TransientWindowObserver {
63 public: 63 public:
64 // Create the manager and use |active_user_id| as the active user. 64 // Create the manager and use |active_user_id| as the active user.
65 explicit MultiUserWindowManagerChromeOS(const std::string& active_user_id); 65 explicit MultiUserWindowManagerChromeOS(const std::string& active_user_id);
66 virtual ~MultiUserWindowManagerChromeOS(); 66 virtual ~MultiUserWindowManagerChromeOS();
67 67
68 // MultiUserWindowManager overrides: 68 // MultiUserWindowManager overrides:
69 virtual void SetWindowOwner( 69 virtual void SetWindowOwner(
70 aura::Window* window, const std::string& user_id) OVERRIDE; 70 aura::Window* window, const std::string& user_id) OVERRIDE;
71 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; 71 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE;
72 virtual void ShowWindowForUser( 72 virtual void ShowWindowForUser(
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 // If true, all animations will be suppressed. 260 // If true, all animations will be suppressed.
261 bool animations_disabled_; 261 bool animations_disabled_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerChromeOS); 263 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerChromeOS);
264 }; 264 };
265 265
266 } // namespace chrome 266 } // namespace chrome
267 267
268 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H _ 268 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_CHROMEOS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698