Chromium Code Reviews| 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(). | 46 // True if kiosk app auto-start is enabled. |
|
xiyuan
2014/01/23 22:05:10
Is this comment needed?
zel
2014/01/23 22:55:27
Done.
| |
| 47 void OnGetConsumerKioskModeStatus( | |
| 48 KioskAppManager::ConsumerKioskModeStatus status); | |
| 49 | |
| 50 bool initialized_; | |
| 51 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; | 47 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; |
| 52 | 48 |
| 53 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); | 49 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); |
| 54 }; | 50 }; |
| 55 | 51 |
| 56 } // namespace chromeos | 52 } // namespace chromeos |
| 57 | 53 |
| 58 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 54 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
| OLD | NEW |