OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/chromeos/login/eula_screen_actor.h" | 10 #include "chrome/browser/chromeos/login/eula_screen_actor.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 base::DictionaryValue* localized_strings) OVERRIDE; | 42 base::DictionaryValue* localized_strings) OVERRIDE; |
43 virtual void Initialize() OVERRIDE; | 43 virtual void Initialize() OVERRIDE; |
44 | 44 |
45 // WebUIMessageHandler implementation: | 45 // WebUIMessageHandler implementation: |
46 virtual void RegisterMessages() OVERRIDE; | 46 virtual void RegisterMessages() OVERRIDE; |
47 | 47 |
48 private: | 48 private: |
49 // JS messages handlers. | 49 // JS messages handlers. |
50 void HandleOnExit(const base::ListValue* args); | 50 void HandleOnExit(const base::ListValue* args); |
51 void HandleOnLearnMore(const base::ListValue* args); | 51 void HandleOnLearnMore(const base::ListValue* args); |
52 void HandleOnTpmPopupOpened(const base::ListValue* args); | 52 void HandleOnInstallationSettingsPopupOpened(const base::ListValue* args); |
53 | 53 |
54 Delegate* delegate_; | 54 Delegate* delegate_; |
55 | 55 |
56 // Help application used for help dialogs. | 56 // Help application used for help dialogs. |
57 scoped_refptr<HelpAppLauncher> help_app_; | 57 scoped_refptr<HelpAppLauncher> help_app_; |
58 | 58 |
59 // Keeps whether screen should be shown right after initialization. | 59 // Keeps whether screen should be shown right after initialization. |
60 bool show_on_init_; | 60 bool show_on_init_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); | 62 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace chromeos | 65 } // namespace chromeos |
66 | 66 |
67 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ | 67 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ |
OLD | NEW |