Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: chrome/browser/chromeos/login/screens/hid_detection_screen.h

Issue 2633413002: cros: Remove BaseScreen::Initialize method. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_HID_DETECTION_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void OnHIDScreenNecessityCheck(bool screen_needed) = 0; 43 virtual void OnHIDScreenNecessityCheck(bool screen_needed) = 0;
44 }; 44 };
45 45
46 HIDDetectionScreen(BaseScreenDelegate* base_screen_delegate, 46 HIDDetectionScreen(BaseScreenDelegate* base_screen_delegate,
47 HIDDetectionView* view); 47 HIDDetectionView* view);
48 ~HIDDetectionScreen() override; 48 ~HIDDetectionScreen() override;
49 49
50 // HIDDetectionModel implementation: 50 // HIDDetectionModel implementation:
51 void Show() override; 51 void Show() override;
52 void Hide() override; 52 void Hide() override;
53 void Initialize(::login::ScreenContext* context) override;
54 void OnContinueButtonClicked() override; 53 void OnContinueButtonClicked() override;
55 void OnViewDestroyed(HIDDetectionView* view) override; 54 void OnViewDestroyed(HIDDetectionView* view) override;
56 void CheckIsScreenRequired( 55 void CheckIsScreenRequired(
57 const base::Callback<void(bool)>& on_check_done) override; 56 const base::Callback<void(bool)>& on_check_done) override;
58 57
59 // device::BluetoothDevice::PairingDelegate implementation: 58 // device::BluetoothDevice::PairingDelegate implementation:
60 void RequestPinCode(device::BluetoothDevice* device) override; 59 void RequestPinCode(device::BluetoothDevice* device) override;
61 void RequestPasskey(device::BluetoothDevice* device) override; 60 void RequestPasskey(device::BluetoothDevice* device) override;
62 void DisplayPinCode(device::BluetoothDevice* device, 61 void DisplayPinCode(device::BluetoothDevice* device,
63 const std::string& pincode) override; 62 const std::string& pincode) override;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 bool showing_ = false; 219 bool showing_ = false;
221 220
222 base::WeakPtrFactory<HIDDetectionScreen> weak_ptr_factory_; 221 base::WeakPtrFactory<HIDDetectionScreen> weak_ptr_factory_;
223 222
224 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreen); 223 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreen);
225 }; 224 };
226 225
227 } // namespace chromeos 226 } // namespace chromeos
228 227
229 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_H_ 228 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/base_screen.cc ('k') | chrome/browser/chromeos/login/screens/hid_detection_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698