OLD | NEW |
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_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
9 | 9 |
10 namespace aura { | 10 namespace aura { |
11 class Window; | 11 class Window; |
12 } | 12 } |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 class MenuModel; | 15 class MenuModel; |
16 } | 16 } |
17 | 17 |
18 // The multi user context menu factory. | 18 // The multi user context menu factory. |
19 scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window); | 19 std::unique_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window); |
20 | 20 |
21 // Executes move of a |window| to another profile. | 21 // Executes move of a |window| to another profile. |
22 // |command_id| defines a user whose desktop is being visited. | 22 // |command_id| defines a user whose desktop is being visited. |
23 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window); | 23 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window); |
24 | 24 |
25 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ | 25 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ |
OLD | NEW |