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

Unified Diff: chrome/browser/chromeos/login/screens/hid_detection_model.h

Issue 915133002: Revert of HID-detection screen moved to screenContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/hid_detection_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screens/hid_detection_model.h
diff --git a/chrome/browser/chromeos/login/screens/hid_detection_model.h b/chrome/browser/chromeos/login/screens/hid_detection_model.h
deleted file mode 100644
index 598992a3033bfa53bebd91ad9a71f994b03dc457..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/hid_detection_model.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2014 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_HID_DETECTION_MODEL_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_MODEL_H_
-
-#include "base/callback_forward.h"
-#include "chrome/browser/chromeos/login/screens/base_screen.h"
-
-namespace chromeos {
-
-class BaseScreenDelegate;
-class HIDDetectionView;
-
-class HIDDetectionModel : public BaseScreen {
- public:
- static const char kContextKeyKeyboardState[];
- static const char kContextKeyMouseState[];
- static const char kContextKeyNumKeysEnteredExpected[];
- static const char kContextKeyNumKeysEnteredPinCode[];
- static const char kContextKeyPinCode[];
- static const char kContextKeyMouseDeviceName[];
- static const char kContextKeyKeyboardDeviceName[];
- static const char kContextKeyKeyboardLabel[];
- static const char kContextKeyContinueButtonEnabled[];
-
- explicit HIDDetectionModel(BaseScreenDelegate* base_screen_delegate);
- ~HIDDetectionModel() override;
-
- // BaseScreen implementation:
- std::string GetName() const override;
-
- // Called when continue button was clicked.
- virtual void OnContinueButtonClicked() = 0;
-
- // Checks if we should show the screen or enough devices already present.
- // Calls corresponding set of actions based on the bool result.
- virtual void CheckIsScreenRequired(
- const base::Callback<void(bool)>& on_check_done) = 0;
-
- // This method is called, when view is being destroyed. Note, if model
- // is destroyed earlier then it has to call Unbind().
- virtual void OnViewDestroyed(HIDDetectionView* view) = 0;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_MODEL_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/hid_detection_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698