Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / ash / multi_user / multi_user_window_manager_stub.h
blob0ac38490c0dfc834aa7c7405c74e696fb5276596
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_
8 #include <map>
9 #include <string>
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
15 class Browser;
16 class Profile;
18 namespace aura {
19 class Window;
22 namespace chrome {
24 // This is the implementation of MultiUserWindowManager for single user mode.
25 class MultiUserWindowManagerStub : public MultiUserWindowManager {
26 public:
27 MultiUserWindowManagerStub() {}
28 virtual ~MultiUserWindowManagerStub() {}
30 // MultiUserWindowManager overrides:
31 virtual void SetWindowOwner(
32 aura::Window* window, const std::string& user_id) OVERRIDE;
33 virtual const std::string& GetWindowOwner(aura::Window* window) OVERRIDE;
34 virtual void ShowWindowForUser(
35 aura::Window* window, const std::string& user_id) OVERRIDE;
36 virtual bool AreWindowsSharedAmongUsers() OVERRIDE;
37 virtual void GetOwnersOfVisibleWindows(
38 std::set<std::string>* user_ids) OVERRIDE;
39 virtual bool IsWindowOnDesktopOfUser(aura::Window* window,
40 const std::string& user_id) OVERRIDE;
41 virtual const std::string& GetUserPresentingWindow(
42 aura::Window* window) OVERRIDE;
43 virtual void AddUser(Profile* profile) OVERRIDE;
45 private:
46 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub);
49 } // namespace chrome
51 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_