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

Unified Diff: chrome/browser/chromeos/login/screens/hid_detection_view.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
Index: chrome/browser/chromeos/login/screens/hid_detection_view.h
diff --git a/chrome/browser/chromeos/login/screens/hid_detection_view.h b/chrome/browser/chromeos/login/screens/hid_detection_view.h
deleted file mode 100644
index affe37a2db67caad485165f2de7ca4f6b3180fdb..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/hid_detection_view.h
+++ /dev/null
@@ -1,36 +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_VIEW_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_VIEW_H_
-
-#include <string>
-
-#include "base/callback.h"
-
-namespace chromeos {
-
-class HIDDetectionModel;
-
-// Interface between HID detection screen and its representation, either WebUI
-// or Views one. Note, do not forget to call OnViewDestroyed in the
-// dtor.
-class HIDDetectionView {
- public:
- virtual ~HIDDetectionView() {}
-
- virtual void PrepareToShow() = 0;
- virtual void Show() = 0;
- virtual void Hide() = 0;
- virtual void Bind(HIDDetectionModel& model) = 0;
- virtual void Unbind() = 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;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_VIEW_H_
« no previous file with comments | « chrome/browser/chromeos/login/screens/hid_detection_screen_actor.h ('k') | chrome/browser/chromeos/login/ui/oobe_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698