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

Side by Side Diff: chrome/browser/ui/webui/new_profile_dom_handler.h

Issue 7275026: Revert 90820 - Multi-Profiles: New Profile Setup UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 (c) 2011 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_NEW_PROFILE_DOM_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NEW_PROFILE_DOM_HANDLER_H_
7 #pragma once
8
9 #include "content/browser/webui/web_ui.h"
10
11 class RefCountedMemory;
12
13 // The handler for Javascript messages related to the "new profile" view.
14 class NewProfileDOMHandler : public WebUIMessageHandler {
15 public:
16 NewProfileDOMHandler();
17
18 // WebUIMessageHandler implementation.
19 virtual void RegisterMessages();
20
21 // Callback for the "create" message - finishes creating a profile.
22 void HandleCreate(const ListValue* args);
23
24 // Callback for the "cancel" message - cancels creating a profile.
25 void HandleCancel(const ListValue* args);
26
27 // Callback for the "requestProfileInfo" message - sends profile info.
28 void HandleRequestProfileInfo(const ListValue* args);
29
30 private:
31 void SendDefaultAvatarImages();
32 void SendProfileInfo();
33
34 DISALLOW_COPY_AND_ASSIGN(NewProfileDOMHandler);
35 };
36
37 #endif // CHROME_BROWSER_UI_WEBUI_NEW_PROFILE_DOM_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/browser/ui/webui/new_profile_dom_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698