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

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

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" 13 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
14 14
15 namespace chrome { 15 namespace chrome {
16 16
17 // This is the implementation of MultiUserWindowManager for single user mode. 17 // This is the implementation of MultiUserWindowManager for single user mode.
18 class MultiUserWindowManagerStub : public MultiUserWindowManager { 18 class MultiUserWindowManagerStub : public MultiUserWindowManager {
19 public: 19 public:
20 MultiUserWindowManagerStub() {} 20 MultiUserWindowManagerStub() {}
21 virtual ~MultiUserWindowManagerStub() {} 21 virtual ~MultiUserWindowManagerStub() {}
22 22
23 // MultiUserWindowManager overrides: 23 // MultiUserWindowManager overrides:
24 virtual void SetWindowOwner( 24 virtual void SetWindowOwner(
25 aura::Window* window, const std::string& user_id) OVERRIDE; 25 aura::Window* window, const std::string& user_id) override;
26 virtual const std::string& GetWindowOwner( 26 virtual const std::string& GetWindowOwner(
27 aura::Window* window) const OVERRIDE; 27 aura::Window* window) const override;
28 virtual void ShowWindowForUser( 28 virtual void ShowWindowForUser(
29 aura::Window* window, const std::string& user_id) OVERRIDE; 29 aura::Window* window, const std::string& user_id) override;
30 virtual bool AreWindowsSharedAmongUsers() const OVERRIDE; 30 virtual bool AreWindowsSharedAmongUsers() const override;
31 virtual void GetOwnersOfVisibleWindows( 31 virtual void GetOwnersOfVisibleWindows(
32 std::set<std::string>* user_ids) const OVERRIDE; 32 std::set<std::string>* user_ids) const override;
33 virtual bool IsWindowOnDesktopOfUser( 33 virtual bool IsWindowOnDesktopOfUser(
34 aura::Window* window, 34 aura::Window* window,
35 const std::string& user_id) const OVERRIDE; 35 const std::string& user_id) const override;
36 virtual const std::string& GetUserPresentingWindow( 36 virtual const std::string& GetUserPresentingWindow(
37 aura::Window* window) const OVERRIDE; 37 aura::Window* window) const override;
38 virtual void AddUser(content::BrowserContext* context) OVERRIDE; 38 virtual void AddUser(content::BrowserContext* context) override;
39 virtual void AddObserver(Observer* observer) OVERRIDE; 39 virtual void AddObserver(Observer* observer) override;
40 virtual void RemoveObserver(Observer* observer) OVERRIDE; 40 virtual void RemoveObserver(Observer* observer) override;
41 41
42 private: 42 private:
43 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub); 43 DISALLOW_COPY_AND_ASSIGN(MultiUserWindowManagerStub);
44 }; 44 };
45 45
46 } // namespace chrome 46 } // namespace chrome
47 47
48 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_ 48 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698