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

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

Issue 2555783003: cros: Remove unused method (Closed)
Patch Set: Created 4 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EULA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_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 "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 14 matching lines...) Expand all
25 // WebUI implementation of EulaScreenActor. It is used to interact 25 // WebUI implementation of EulaScreenActor. It is used to interact
26 // with the eula part of the JS page. 26 // with the eula part of the JS page.
27 class EulaScreenHandler : public EulaView, 27 class EulaScreenHandler : public EulaView,
28 public BaseScreenHandler, 28 public BaseScreenHandler,
29 public TpmPasswordFetcherDelegate { 29 public TpmPasswordFetcherDelegate {
30 public: 30 public:
31 explicit EulaScreenHandler(CoreOobeActor* core_oobe_actor); 31 explicit EulaScreenHandler(CoreOobeActor* core_oobe_actor);
32 ~EulaScreenHandler() override; 32 ~EulaScreenHandler() override;
33 33
34 // EulaView implementation: 34 // EulaView implementation:
35 void PrepareToShow() override;
36 void Show() override; 35 void Show() override;
37 void Hide() override; 36 void Hide() override;
38 void Bind(EulaModel& model) override; 37 void Bind(EulaModel& model) override;
39 void Unbind() override; 38 void Unbind() override;
40 void OnPasswordFetched(const std::string& tpm_password) override; 39 void OnPasswordFetched(const std::string& tpm_password) override;
41 40
42 // BaseScreenHandler implementation: 41 // BaseScreenHandler implementation:
43 void DeclareLocalizedValues( 42 void DeclareLocalizedValues(
44 ::login::LocalizedValuesBuilder* builder) override; 43 ::login::LocalizedValuesBuilder* builder) override;
45 void DeclareJSCallbacks() override; 44 void DeclareJSCallbacks() override;
(...skipping 15 matching lines...) Expand all
61 60
62 // Keeps whether screen should be shown right after initialization. 61 // Keeps whether screen should be shown right after initialization.
63 bool show_on_init_; 62 bool show_on_init_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); 64 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler);
66 }; 65 };
67 66
68 } // namespace chromeos 67 } // namespace chromeos
69 68
70 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698