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

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

Issue 197773004: Move avatar holder code to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix 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
11 #include "ash/session_state_observer.h" 11 #include "ash/session_state_observer.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" 16 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 #include "ui/aura/window_observer.h" 19 #include "ui/aura/window_observer.h"
20 #include "ui/wm/core/transient_window_observer.h" 20 #include "ui/wm/core/transient_window_observer.h"
21 21
22 class Browser; 22 class Browser;
23 class MultiUserNotificationBlockerChromeOS; 23 class MultiUserNotificationBlockerChromeOS;
24 class MultiUserNotificationBlockerChromeOSTest; 24 class MultiUserNotificationBlockerChromeOSTest;
25 class Profile; 25
26 namespace content {
27 class BrowserContext;
28 }
26 29
27 namespace aura { 30 namespace aura {
28 class Window; 31 class Window;
29 } // namespace aura 32 } // namespace aura
30 33
31 namespace ash { 34 namespace ash {
32 namespace test { 35 namespace test {
33 class MultiUserWindowManagerChromeOSTest; 36 class MultiUserWindowManagerChromeOSTest;
34 } // namespace test 37 } // namespace test
35 } // namespace ash 38 } // namespace ash
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; 71 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE;
69 virtual void ShowWindowForUser( 72 virtual void ShowWindowForUser(
70 aura::Window* window, const std::string& user_id) OVERRIDE; 73 aura::Window* window, const std::string& user_id) OVERRIDE;
71 virtual bool AreWindowsSharedAmongUsers() OVERRIDE; 74 virtual bool AreWindowsSharedAmongUsers() OVERRIDE;
72 virtual void GetOwnersOfVisibleWindows( 75 virtual void GetOwnersOfVisibleWindows(
73 std::set<std::string>* user_ids) OVERRIDE; 76 std::set<std::string>* user_ids) OVERRIDE;
74 virtual bool IsWindowOnDesktopOfUser(aura::Window* window, 77 virtual bool IsWindowOnDesktopOfUser(aura::Window* window,
75 const std::string& user_id) OVERRIDE; 78 const std::string& user_id) OVERRIDE;
76 virtual const std::string& GetUserPresentingWindow( 79 virtual const std::string& GetUserPresentingWindow(
77 aura::Window* window) OVERRIDE; 80 aura::Window* window) OVERRIDE;
78 virtual void AddUser(Profile* profile) OVERRIDE; 81 virtual void AddUser(content::BrowserContext* context) OVERRIDE;
79 virtual void AddObserver(Observer* observer) OVERRIDE; 82 virtual void AddObserver(Observer* observer) OVERRIDE;
80 virtual void RemoveObserver(Observer* observer) OVERRIDE; 83 virtual void RemoveObserver(Observer* observer) OVERRIDE;
81 84
82 // SessionStateObserver overrides: 85 // SessionStateObserver overrides:
83 virtual void ActiveUserChanged(const std::string& user_id) OVERRIDE; 86 virtual void ActiveUserChanged(const std::string& user_id) OVERRIDE;
84 87
85 // WindowObserver overrides: 88 // WindowObserver overrides:
86 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 89 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
87 virtual void OnWindowVisibilityChanging(aura::Window* window, 90 virtual void OnWindowVisibilityChanging(aura::Window* window,
88 bool visible) OVERRIDE; 91 bool visible) OVERRIDE;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 259
257 // If true, all animations will be suppressed. 260 // If true, all animations will be suppressed.
258 bool animations_disabled_; 261 bool animations_disabled_;
259 262
260 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerChromeOS); 263 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerChromeOS);
261 }; 264 };
262 265
263 } // namespace chrome 266 } // namespace chrome
264 267
265 #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