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

Side by Side Diff: chrome/browser/ui/webui/options/managed_user_create_confirm_handler.h

Issue 384023002: Rename "managed (mode|user)" to "supervised user" (part 6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: break long lines Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_CREATE_CONFIRM_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_CREATE_CONFIRM_HANDLER_H_
7
8 #include "chrome/browser/ui/webui/options/options_ui.h"
9
10 namespace base {
11 class DictionaryValue;
12 }
13
14 namespace options {
15
16 // Handler for the confirmation dialog after successful creation of a managed
17 // user.
18 class ManagedUserCreateConfirmHandler : public OptionsPageUIHandler {
19 public:
20 ManagedUserCreateConfirmHandler();
21 virtual ~ManagedUserCreateConfirmHandler();
22
23 // OptionsPageUIHandler implementation.
24 virtual void GetLocalizedValues(
25 base::DictionaryValue* localized_strings) OVERRIDE;
26
27 // WebUIMessageHandler implementation.
28 virtual void RegisterMessages() OVERRIDE;
29
30 private:
31 // Callback for the "switchToProfile" message.
32 // Opens a new window for the profile.
33 // |args| is of the form [ {string} profileFilePath ]
34 void SwitchToProfile(const base::ListValue* args);
35
36 DISALLOW_COPY_AND_ASSIGN(ManagedUserCreateConfirmHandler);
37 };
38
39 } // namespace options
40
41 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_CREATE_CONFIRM_HANDLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698