| OLD | NEW |
| 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_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 public: | 21 public: |
| 22 class Delegate { | 22 class Delegate { |
| 23 public: | 23 public: |
| 24 virtual ~Delegate() {} | 24 virtual ~Delegate() {} |
| 25 | 25 |
| 26 // Set remora configuration from shark. | 26 // Set remora configuration from shark. |
| 27 virtual void SetHostConfiguration() = 0; | 27 virtual void SetHostConfiguration() = 0; |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 ControllerPairingScreen( | 30 ControllerPairingScreen( |
| 31 ScreenObserver* observer, | 31 BaseScreenDelegate* base_screen_delegate, |
| 32 ControllerPairingScreenActor* actor, | 32 ControllerPairingScreenActor* actor, |
| 33 pairing_chromeos::ControllerPairingController* shark_controller); | 33 pairing_chromeos::ControllerPairingController* shark_controller); |
| 34 virtual ~ControllerPairingScreen(); | 34 virtual ~ControllerPairingScreen(); |
| 35 | 35 |
| 36 void SetDelegate(Delegate* delegate); | 36 void SetDelegate(Delegate* delegate); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 typedef pairing_chromeos::ControllerPairingController::Stage Stage; | 39 typedef pairing_chromeos::ControllerPairingController::Stage Stage; |
| 40 | 40 |
| 41 void CommitContextChanges(); | 41 void CommitContextChanges(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // If this one is |false| first device in device list will be preselected on | 74 // If this one is |false| first device in device list will be preselected on |
| 75 // next device list update. | 75 // next device list update. |
| 76 bool device_preselected_; | 76 bool device_preselected_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreen); | 78 DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreen); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace chromeos | 81 } // namespace chromeos |
| 82 | 82 |
| 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ | 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ |
| OLD | NEW |