Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/voice_interaction_value_prop_screen.h |
| diff --git a/chrome/browser/chromeos/login/screens/voice_interaction_value_prop_screen.h b/chrome/browser/chromeos/login/screens/voice_interaction_value_prop_screen.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d7a6808de652291c72a3252d3113a7146385a8dd |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/login/screens/voice_interaction_value_prop_screen.h |
| @@ -0,0 +1,43 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREEN_H_ |
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREEN_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/macros.h" |
| +#include "chrome/browser/chromeos/login/screens/base_screen.h" |
| + |
| +namespace chromeos { |
| + |
| +class VoiceInteractionValuePropScreenView; |
| +class BaseScreenDelegate; |
| + |
| +class VoiceInteractionValuePropScreen : public BaseScreen { |
| + public: |
| + VoiceInteractionValuePropScreen(BaseScreenDelegate* base_screen_delegate, |
| + VoiceInteractionValuePropScreenView* view); |
| + ~VoiceInteractionValuePropScreen() override; |
| + |
| + // Called when view is destroyed so there's no dead reference to it. |
| + void OnViewDestroyed(VoiceInteractionValuePropScreenView* view_); |
|
dcheng
2017/06/05 19:38:42
Nit: |view_| should be named |view|
|
| + |
| + // BaseScreen: |
| + void Show() override; |
| + void Hide() override; |
| + void OnUserAction(const std::string& action_id) override; |
| + |
| + private: |
| + void OnNoThanksPressed(); |
| + void OnContinuePressed(); |
| + |
| + VoiceInteractionValuePropScreenView* view_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(VoiceInteractionValuePropScreen); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREEN_H_ |