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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h

Issue 7121013: Initial implementation of network screen WebUI handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile Created 9 years, 6 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chromeos/login/eula_screen_actor.h" 10 #include "chrome/browser/chromeos/login/eula_screen_actor.h"
11 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 11 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
12 #include "content/browser/webui/web_ui.h" 12 #include "content/browser/webui/web_ui.h"
13 13
14 class ListValue; 14 class ListValue;
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // WebUI implementation of the EulaScreenActor. It is used to interract 18 // WebUI implementation of EulaScreenActor. It is used to interact
19 // with the eula part of the JS page. 19 // with the eula part of the JS page.
20 class EulaScreenHandler : public EulaScreenActor, 20 class EulaScreenHandler : public EulaScreenActor,
21 public OobeMessageHandler { 21 public OobeMessageHandler {
22 public: 22 public:
23 EulaScreenHandler(); 23 EulaScreenHandler();
24 virtual ~EulaScreenHandler(); 24 virtual ~EulaScreenHandler();
25 25
26 // EulaScreenActor implementation: 26 // EulaScreenActor implementation:
27 virtual void PrepareToShow(); 27 virtual void PrepareToShow();
28 virtual void Show(); 28 virtual void Show();
(...skipping 13 matching lines...) Expand all
42 void OnExit(const ListValue* args); 42 void OnExit(const ListValue* args);
43 43
44 Delegate* delegate_; 44 Delegate* delegate_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); 46 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler);
47 }; 47 };
48 48
49 } // namespace chromeos 49 } // namespace chromeos
50 50
51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698