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

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

Issue 130613004: Enabled consumer kiosk mode for all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698