OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREE
N_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREE
N_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| 12 |
| 13 namespace chromeos { |
| 14 |
| 15 class VoiceInteractionValuePropScreenView; |
| 16 class BaseScreenDelegate; |
| 17 |
| 18 class VoiceInteractionValuePropScreen : public BaseScreen { |
| 19 public: |
| 20 VoiceInteractionValuePropScreen(BaseScreenDelegate* base_screen_delegate, |
| 21 VoiceInteractionValuePropScreenView* view); |
| 22 ~VoiceInteractionValuePropScreen() override; |
| 23 |
| 24 // Called when view is destroyed so there's no dead reference to it. |
| 25 void OnViewDestroyed(VoiceInteractionValuePropScreenView* view_); |
| 26 |
| 27 // BaseScreen: |
| 28 void Show() override; |
| 29 void Hide() override; |
| 30 void OnUserAction(const std::string& action_id) override; |
| 31 |
| 32 private: |
| 33 void OnNoThanksPressed(); |
| 34 void OnContinuePressed(); |
| 35 |
| 36 VoiceInteractionValuePropScreenView* view_; |
| 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(VoiceInteractionValuePropScreen); |
| 39 }; |
| 40 |
| 41 } // namespace chromeos |
| 42 |
| 43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SC
REEN_H_ |
OLD | NEW |