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_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // JS callbacks. | 37 // JS callbacks. |
38 void HandleInitializeKioskApps(const base::ListValue* args); | 38 void HandleInitializeKioskApps(const base::ListValue* args); |
39 void HandleKioskAppsLoaded(const base::ListValue* args); | 39 void HandleKioskAppsLoaded(const base::ListValue* args); |
40 void HandleCheckKioskAppLaunchError(const base::ListValue* args); | 40 void HandleCheckKioskAppLaunchError(const base::ListValue* args); |
41 | 41 |
42 // KioskAppManagerObserver overrides: | 42 // KioskAppManagerObserver overrides: |
43 virtual void OnKioskAppsSettingsChanged() OVERRIDE; | 43 virtual void OnKioskAppsSettingsChanged() OVERRIDE; |
44 virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE; | 44 virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE; |
45 | 45 |
46 // Callback for KioskAppManager::GetConsumerKioskModeStatus(). | |
47 void OnGetConsumerKioskModeStatus( | |
48 KioskAppManager::ConsumerKioskModeStatus status); | |
49 | |
50 bool initialized_; | |
51 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; | 46 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; |
52 | 47 |
53 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); | 48 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); |
54 }; | 49 }; |
55 | 50 |
56 } // namespace chromeos | 51 } // namespace chromeos |
57 | 52 |
58 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
OLD | NEW |