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_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SCREE
N_VIEW_H_ |
| 7 |
| 8 #include "chrome/browser/chromeos/login/oobe_screen.h" |
| 9 |
| 10 namespace chromeos { |
| 11 |
| 12 class VoiceInteractionValuePropScreen; |
| 13 |
| 14 // Interface for dependency injection between VoiceInteractionValuePropScreen |
| 15 // and its WebUI representation. |
| 16 class VoiceInteractionValuePropScreenView { |
| 17 public: |
| 18 constexpr static OobeScreen kScreenId = |
| 19 OobeScreen::SCREEN_VOICE_INTERACTION_VALUE_PROP; |
| 20 |
| 21 virtual ~VoiceInteractionValuePropScreenView() {} |
| 22 |
| 23 virtual void Bind(VoiceInteractionValuePropScreen* screen) = 0; |
| 24 virtual void Unbind() = 0; |
| 25 virtual void Show() = 0; |
| 26 virtual void Hide() = 0; |
| 27 |
| 28 protected: |
| 29 VoiceInteractionValuePropScreenView() = default; |
| 30 |
| 31 private: |
| 32 DISALLOW_COPY_AND_ASSIGN(VoiceInteractionValuePropScreenView); |
| 33 }; |
| 34 |
| 35 } // namespace chromeos |
| 36 |
| 37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_VOICE_INTERACTION_VALUE_PROP_SC
REEN_VIEW_H_ |
OLD | NEW |