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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TEST_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_TEST_H_
6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_TEST_H_ 6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_TEST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" 9 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
10 #include "components/signin/core/account_id/account_id.h" 10 #include "components/signin/core/account_id/account_id.h"
11 11
12 class Browser;
13
12 // This is a test implementation of a MultiUserWindowManager which allows to 14 // This is a test implementation of a MultiUserWindowManager which allows to
13 // test a visiting window on another desktop. It will install and remove itself 15 // test a visiting window on another desktop. It will install and remove itself
14 // from the system upon creation / destruction. 16 // from the system upon creation / destruction.
15 // The creation function gets a |browser| which is shown on |desktop_owner|'s 17 // The creation function gets a |browser| which is shown on |desktop_owner|'s
16 // desktop. 18 // desktop.
17 class TestMultiUserWindowManager : public chrome::MultiUserWindowManager { 19 class TestMultiUserWindowManager : public chrome::MultiUserWindowManager {
18 public: 20 public:
19 TestMultiUserWindowManager(Browser* visiting_browser, 21 TestMultiUserWindowManager(Browser* visiting_browser,
20 const AccountId& desktop_owner); 22 const AccountId& desktop_owner);
21 ~TestMultiUserWindowManager() override; 23 ~TestMultiUserWindowManager() override;
(...skipping 27 matching lines...) Expand all
49 aura::Window* created_window_; 51 aura::Window* created_window_;
50 // The location of the window. 52 // The location of the window.
51 AccountId created_window_shown_for_; 53 AccountId created_window_shown_for_;
52 // The current selected active user. 54 // The current selected active user.
53 AccountId current_account_id_; 55 AccountId current_account_id_;
54 56
55 DISALLOW_COPY_AND_ASSIGN(TestMultiUserWindowManager); 57 DISALLOW_COPY_AND_ASSIGN(TestMultiUserWindowManager);
56 }; 58 };
57 59
58 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_TEST_H_ 60 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/multi_user/multi_user_window_manager.h ('k') | chrome/browser/ui/autofill/autofill_popup_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698