Chromium Code Reviews| 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" |
| 11 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen_actor. h" | 11 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen_actor. h" |
| 12 #include "components/login/screens/screen_context.h" | 12 #include "components/login/screens/screen_context.h" |
| 13 #include "components/pairing/controller_pairing_controller.h" | 13 #include "components/pairing/controller_pairing_controller.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 class ControllerPairingScreen | 17 class ControllerPairingScreen |
| 18 : public BaseScreen, | 18 : public BaseScreen, |
| 19 public pairing_chromeos::ControllerPairingController::Observer, | 19 public pairing_chromeos::ControllerPairingController::Observer, |
| 20 public ControllerPairingScreenActor::Delegate { | 20 public ControllerPairingScreenActor::Delegate { |
| 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 network from Shark. | |
|
achuithb
2015/11/05 23:26:12
s/Shark/shark for consistency.
xdai1
2015/11/06 23:23:02
Done.
| |
| 27 virtual void SetHostNetwork() = 0; | |
| 28 | |
| 26 // Set remora configuration from shark. | 29 // Set remora configuration from shark. |
| 27 virtual void SetHostConfiguration() = 0; | 30 virtual void SetHostConfiguration() = 0; |
| 28 }; | 31 }; |
| 29 | 32 |
| 30 ControllerPairingScreen( | 33 ControllerPairingScreen( |
| 31 BaseScreenDelegate* base_screen_delegate, | 34 BaseScreenDelegate* base_screen_delegate, |
| 32 Delegate* delegate, | 35 Delegate* delegate, |
| 33 ControllerPairingScreenActor* actor, | 36 ControllerPairingScreenActor* actor, |
| 34 pairing_chromeos::ControllerPairingController* shark_controller); | 37 pairing_chromeos::ControllerPairingController* shark_controller); |
| 35 ~ControllerPairingScreen() override; | 38 ~ControllerPairingScreen() override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 // If this one is |false| first device in device list will be preselected on | 71 // If this one is |false| first device in device list will be preselected on |
| 69 // next device list update. | 72 // next device list update. |
| 70 bool device_preselected_; | 73 bool device_preselected_; |
| 71 | 74 |
| 72 DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreen); | 75 DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreen); |
| 73 }; | 76 }; |
| 74 | 77 |
| 75 } // namespace chromeos | 78 } // namespace chromeos |
| 76 | 79 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ | 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CONTROLLER_PAIRING_SCREEN_H_ |
| OLD | NEW |