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

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

Issue 127423002: Supports window teleports for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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_STUB_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_
6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_ 6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 16 matching lines...) Expand all
27 MultiUserWindowManagerStub() {} 27 MultiUserWindowManagerStub() {}
28 virtual ~MultiUserWindowManagerStub() {} 28 virtual ~MultiUserWindowManagerStub() {}
29 29
30 // MultiUserWindowManager overrides: 30 // MultiUserWindowManager overrides:
31 virtual void SetWindowOwner( 31 virtual void SetWindowOwner(
32 aura::Window* window, const std::string& user_id) OVERRIDE; 32 aura::Window* window, const std::string& user_id) OVERRIDE;
33 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE; 33 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE;
34 virtual void ShowWindowForUser( 34 virtual void ShowWindowForUser(
35 aura::Window* window, const std::string& user_id) OVERRIDE; 35 aura::Window* window, const std::string& user_id) OVERRIDE;
36 virtual bool AreWindowsSharedAmongUsers() OVERRIDE; 36 virtual bool AreWindowsSharedAmongUsers() OVERRIDE;
37 virtual void GetWindowOwners(std::set<std::string>* user_ids) OVERRIDE;
37 virtual bool IsWindowOnDesktopOfUser(aura::Window* window, 38 virtual bool IsWindowOnDesktopOfUser(aura::Window* window,
38 const std::string& user_id) OVERRIDE; 39 const std::string& user_id) OVERRIDE;
39 virtual const std::string& GetUserPresentingWindow( 40 virtual const std::string& GetUserPresentingWindow(
40 aura::Window* window) OVERRIDE; 41 aura::Window* window) OVERRIDE;
41 virtual void AddUser(Profile* profile) OVERRIDE; 42 virtual void AddUser(Profile* profile) OVERRIDE;
42 43
43 private: 44 private:
44 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub); 45 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub);
45 }; 46 };
46 47
47 } // namespace chrome 48 } // namespace chrome
48 49
49 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_ 50 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698