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

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

Issue 2701023003: cros: Move call js prefix out of ctor. (Closed)
Patch Set: Created 3 years, 10 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
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_ENABLE_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 27 matching lines...) Expand all
38 void HandleOnClose(); 38 void HandleOnClose();
39 void HandleOnEnable(); 39 void HandleOnEnable();
40 40
41 // Callback for KioskAppManager::EnableConsumerModeKiosk(). 41 // Callback for KioskAppManager::EnableConsumerModeKiosk().
42 void OnEnableConsumerKioskAutoLaunch(bool success); 42 void OnEnableConsumerKioskAutoLaunch(bool success);
43 43
44 // Callback for KioskAppManager::GetConsumerKioskModeStatus(). 44 // Callback for KioskAppManager::GetConsumerKioskModeStatus().
45 void OnGetConsumerKioskAutoLaunchStatus( 45 void OnGetConsumerKioskAutoLaunchStatus(
46 KioskAppManager::ConsumerKioskAutoLaunchStatus status); 46 KioskAppManager::ConsumerKioskAutoLaunchStatus status);
47 47
48 Delegate* delegate_; 48 Delegate* delegate_ = nullptr;
49 49
50 // Keeps whether screen should be shown right after initialization. 50 // Keeps whether screen should be shown right after initialization.
51 bool show_on_init_; 51 bool show_on_init_ = false;
52 52
53 // True if machine's consumer kiosk mode is in a configurable state. 53 // True if machine's consumer kiosk mode is in a configurable state.
54 bool is_configurable_; 54 bool is_configurable_ = false;
55 55
56 base::WeakPtrFactory<KioskEnableScreenHandler> weak_ptr_factory_; 56 base::WeakPtrFactory<KioskEnableScreenHandler> weak_ptr_factory_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(KioskEnableScreenHandler); 58 DISALLOW_COPY_AND_ASSIGN(KioskEnableScreenHandler);
59 }; 59 };
60 60
61 } // namespace chromeos 61 } // namespace chromeos
62 62
63 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_ 63 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698