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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/wrong_hwid_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_WRONG_HWID_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h" 9 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h"
10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
11 #include "content/public/browser/web_ui.h" 11 #include "content/public/browser/web_ui.h"
12 12
13 namespace base { 13 namespace base {
14 class DictionaryValue; 14 class DictionaryValue;
15 } 15 }
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 // WebUI implementation of WrongHWIDScreenActor. 19 // WebUI implementation of WrongHWIDScreenActor.
20 class WrongHWIDScreenHandler : public WrongHWIDScreenActor, 20 class WrongHWIDScreenHandler : public WrongHWIDScreenActor,
21 public BaseScreenHandler { 21 public BaseScreenHandler {
22 public: 22 public:
23 WrongHWIDScreenHandler(); 23 WrongHWIDScreenHandler();
24 virtual ~WrongHWIDScreenHandler(); 24 virtual ~WrongHWIDScreenHandler();
25 25
26 // WrongHWIDScreenActor implementation: 26 // WrongHWIDScreenActor implementation:
27 virtual void PrepareToShow() OVERRIDE; 27 virtual void PrepareToShow() override;
28 virtual void Show() OVERRIDE; 28 virtual void Show() override;
29 virtual void Hide() OVERRIDE; 29 virtual void Hide() override;
30 virtual void SetDelegate(Delegate* delegate) OVERRIDE; 30 virtual void SetDelegate(Delegate* delegate) 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 // JS messages handlers. 40 // JS messages handlers.
41 void HandleOnSkip(); 41 void HandleOnSkip();
42 42
43 Delegate* delegate_; 43 Delegate* delegate_;
44 44
45 // Keeps whether screen should be shown right after initialization. 45 // Keeps whether screen should be shown right after initialization.
46 bool show_on_init_; 46 bool show_on_init_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); 48 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler);
49 }; 49 };
50 50
51 } // namespace chromeos 51 } // namespace chromeos
52 52
53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ 53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
54 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698