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

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

Issue 2738973003: cros: WIP patch to remove EnableDebuggingScreenView
Patch Set: Initial upload Created 3 years, 9 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/enable_debugging_screen_view.h
diff --git a/chrome/browser/chromeos/login/screens/enable_debugging_screen_view.h b/chrome/browser/chromeos/login/screens/enable_debugging_screen_view.h
deleted file mode 100644
index 821c33eee5f61357733314a803728b6746b831a9..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/enable_debugging_screen_view.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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_ENABLE_DEBUGGING_SCREEN_VIEW_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_VIEW_H_
-
-#include <string>
-#include "chrome/browser/chromeos/login/oobe_screen.h"
-
-namespace chromeos {
-
-// Interface between enable debugging screen and its representation.
-// Note, do not forget to call OnViewDestroyed in the dtor.
-class EnableDebuggingScreenView {
- public:
- // Allows us to get info from reset screen that we need.
- class Delegate {
- public:
- virtual ~Delegate() {}
-
- // Called when screen is exited.
- virtual void OnExit(bool success) = 0;
-
- // This method is called, when view is being destroyed. Note, if Delegate
- // is destroyed earlier then it has to call SetDelegate(nullptr).
- virtual void OnViewDestroyed(EnableDebuggingScreenView* view) = 0;
- };
-
- constexpr static OobeScreen kScreenId =
- OobeScreen::SCREEN_OOBE_ENABLE_DEBUGGING;
-
- virtual ~EnableDebuggingScreenView() {}
-
- virtual void Show() = 0;
- virtual void Hide() = 0;
- virtual void SetDelegate(Delegate* delegate) = 0;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698