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

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

Issue 878253002: LocalizedValuesBuilder moved to components/login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on 'base'. Created 5 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_AUTOLAUNCH_SCREEN_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H _
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" 9 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h"
10 #include "chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h" 10 #include "chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // KioskAutolaunchScreenActor implementation: 24 // KioskAutolaunchScreenActor implementation:
25 void Show() override; 25 void Show() override;
26 void SetDelegate(Delegate* delegate) override; 26 void SetDelegate(Delegate* delegate) override;
27 27
28 // KioskAppManagerObserver overrides: 28 // KioskAppManagerObserver overrides:
29 void OnKioskAppsSettingsChanged() override; 29 void OnKioskAppsSettingsChanged() override;
30 void OnKioskAppDataChanged(const std::string& app_id) override; 30 void OnKioskAppDataChanged(const std::string& app_id) override;
31 31
32 // BaseScreenHandler implementation: 32 // BaseScreenHandler implementation:
33 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; 33 void DeclareLocalizedValues(
34 ::login::LocalizedValuesBuilder* builder) override;
34 void Initialize() override; 35 void Initialize() override;
35 36
36 // WebUIMessageHandler implementation: 37 // WebUIMessageHandler implementation:
37 void RegisterMessages() override; 38 void RegisterMessages() override;
38 39
39 private: 40 private:
40 // Updates auto-start UI assets on JS side. 41 // Updates auto-start UI assets on JS side.
41 void UpdateKioskApp(); 42 void UpdateKioskApp();
42 43
43 // JS messages handlers. 44 // JS messages handlers.
44 void HandleOnCancel(); 45 void HandleOnCancel();
45 void HandleOnConfirm(); 46 void HandleOnConfirm();
46 void HandleOnVisible(); 47 void HandleOnVisible();
47 48
48 Delegate* delegate_; 49 Delegate* delegate_;
49 50
50 // Keeps whether screen should be shown right after initialization. 51 // Keeps whether screen should be shown right after initialization.
51 bool show_on_init_; 52 bool show_on_init_;
52 bool is_visible_; 53 bool is_visible_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler); 55 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler);
55 }; 56 };
56 57
57 } // namespace chromeos 58 } // namespace chromeos
58 59
59 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE R_H_ 60 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698