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

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

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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"
11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
12 #include "content/public/browser/web_ui.h" 12 #include "content/public/browser/web_ui.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 // WebUI implementation of KioskAutolaunchScreenActor. 16 // WebUI implementation of KioskAutolaunchScreenActor.
17 class KioskAutolaunchScreenHandler : public KioskAutolaunchScreenActor, 17 class KioskAutolaunchScreenHandler : public KioskAutolaunchScreenActor,
18 public KioskAppManagerObserver, 18 public KioskAppManagerObserver,
19 public BaseScreenHandler { 19 public BaseScreenHandler {
20 public: 20 public:
21 KioskAutolaunchScreenHandler(); 21 KioskAutolaunchScreenHandler();
22 virtual ~KioskAutolaunchScreenHandler(); 22 virtual ~KioskAutolaunchScreenHandler();
23 23
24 // KioskAutolaunchScreenActor implementation: 24 // KioskAutolaunchScreenActor implementation:
25 virtual void Show() OVERRIDE; 25 virtual void Show() override;
26 virtual void SetDelegate(Delegate* delegate) OVERRIDE; 26 virtual void SetDelegate(Delegate* delegate) override;
27 27
28 // KioskAppManagerObserver overrides: 28 // KioskAppManagerObserver overrides:
29 virtual void OnKioskAppsSettingsChanged() OVERRIDE; 29 virtual void OnKioskAppsSettingsChanged() override;
30 virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE; 30 virtual void OnKioskAppDataChanged(const std::string& app_id) override;
31 31
32 // BaseScreenHandler implementation: 32 // BaseScreenHandler implementation:
33 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; 33 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override;
34 virtual void Initialize() OVERRIDE; 34 virtual void Initialize() override;
35 35
36 // WebUIMessageHandler implementation: 36 // WebUIMessageHandler implementation:
37 virtual void RegisterMessages() OVERRIDE; 37 virtual void RegisterMessages() override;
38 38
39 private: 39 private:
40 // Updates auto-start UI assets on JS side. 40 // Updates auto-start UI assets on JS side.
41 void UpdateKioskApp(); 41 void UpdateKioskApp();
42 42
43 // JS messages handlers. 43 // JS messages handlers.
44 void HandleOnCancel(); 44 void HandleOnCancel();
45 void HandleOnConfirm(); 45 void HandleOnConfirm();
46 void HandleOnVisible(); 46 void HandleOnVisible();
47 47
48 Delegate* delegate_; 48 Delegate* delegate_;
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_;
52 bool is_visible_; 52 bool is_visible_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler); 54 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler);
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace chromeos
58 58
59 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE R_H_ 59 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698