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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/wrong_hwid_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 (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 "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h" 10 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h"
(...skipping 19 matching lines...) Expand all
30 ::login::LocalizedValuesBuilder* builder) override; 30 ::login::LocalizedValuesBuilder* builder) override;
31 void Initialize() override; 31 void Initialize() override;
32 32
33 // WebUIMessageHandler implementation: 33 // WebUIMessageHandler implementation:
34 void RegisterMessages() override; 34 void RegisterMessages() override;
35 35
36 private: 36 private:
37 // JS messages handlers. 37 // JS messages handlers.
38 void HandleOnSkip(); 38 void HandleOnSkip();
39 39
40 Delegate* delegate_; 40 Delegate* delegate_ = nullptr;
41 41
42 // Keeps whether screen should be shown right after initialization. 42 // Keeps whether screen should be shown right after initialization.
43 bool show_on_init_; 43 bool show_on_init_ = false;
44 44
45 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); 45 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler);
46 }; 46 };
47 47
48 } // namespace chromeos 48 } // namespace chromeos
49 49
50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ 50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_
51 51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698