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
3 // found in the LICENSE file.
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_
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
17 // This is the implementation of MultiUserWindowManager for single user mode.
18 class MultiUserWindowManagerStub
: public MultiUserWindowManager
{
20 MultiUserWindowManagerStub() {}
21 virtual ~MultiUserWindowManagerStub() {}
23 // MultiUserWindowManager overrides:
24 virtual void SetWindowOwner(
25 aura::Window
* window
, const std::string
& user_id
) OVERRIDE
;
26 virtual const std::string
& GetWindowOwner(
27 aura::Window
* window
) const OVERRIDE
;
28 virtual void ShowWindowForUser(
29 aura::Window
* window
, const std::string
& user_id
) OVERRIDE
;
30 virtual bool AreWindowsSharedAmongUsers() const OVERRIDE
;
31 virtual void GetOwnersOfVisibleWindows(
32 std::set
<std::string
>* user_ids
) const OVERRIDE
;
33 virtual bool IsWindowOnDesktopOfUser(
35 const std::string
& user_id
) const OVERRIDE
;
36 virtual const std::string
& GetUserPresentingWindow(
37 aura::Window
* window
) const OVERRIDE
;
38 virtual void AddUser(content::BrowserContext
* context
) OVERRIDE
;
39 virtual void AddObserver(Observer
* observer
) OVERRIDE
;
40 virtual void RemoveObserver(Observer
* observer
) OVERRIDE
;
43 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub
);
48 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_