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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/device_disabled_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEVICE_DISABLED_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEVICE_DISABLED_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEVICE_DISABLED_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEVICE_DISABLED_SCREEN_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/login/screens/device_disabled_screen_actor.h" 9 #include "chrome/browser/chromeos/login/screens/device_disabled_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"
(...skipping 15 matching lines...) Expand all
26 26
27 // BaseScreenHandler: 27 // BaseScreenHandler:
28 void DeclareLocalizedValues( 28 void DeclareLocalizedValues(
29 ::login::LocalizedValuesBuilder* builder) override; 29 ::login::LocalizedValuesBuilder* builder) override;
30 void Initialize() override; 30 void Initialize() override;
31 31
32 private: 32 private:
33 // WebUIMessageHandler: 33 // WebUIMessageHandler:
34 void RegisterMessages() override; 34 void RegisterMessages() override;
35 35
36 Delegate* delegate_; 36 Delegate* delegate_ = nullptr;
37 37
38 // Indicates whether the screen should be shown right after initialization. 38 // Indicates whether the screen should be shown right after initialization.
39 bool show_on_init_; 39 bool show_on_init_ = false;
40 40
41 DISALLOW_COPY_AND_ASSIGN(DeviceDisabledScreenHandler); 41 DISALLOW_COPY_AND_ASSIGN(DeviceDisabledScreenHandler);
42 }; 42 };
43 43
44 } // namespace chromeos 44 } // namespace chromeos
45 45
46 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEVICE_DISABLED_SCREEN_HANDLER _H_ 46 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_DEVICE_DISABLED_SCREEN_HANDLER _H_
47 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698