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

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

Issue 2700303002: cros: Unify oobe View/Actor naming to just View. (Closed)
Patch Set: Rebase Created 3 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/app_launch_splash_screen_actor.h
diff --git a/chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h b/chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h
deleted file mode 100644
index 271632159701b7a722d7df55760ad4893f3b2d65..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright 2013 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_APP_LAUNCH_SPLASH_SCREEN_ACTOR_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_APP_LAUNCH_SPLASH_SCREEN_ACTOR_H_
-
-#include "base/strings/string16.h"
-
-namespace chromeos {
-
-// Interface for UI implemenations of the ApplaunchSplashScreen.
-class AppLaunchSplashScreenActor {
- public:
- enum AppLaunchState {
- APP_LAUNCH_STATE_LOADING_AUTH_FILE,
- APP_LAUNCH_STATE_LOADING_TOKEN_SERVICE,
- APP_LAUNCH_STATE_PREPARING_NETWORK,
- APP_LAUNCH_STATE_INSTALLING_APPLICATION,
- APP_LAUNCH_STATE_WAITING_APP_WINDOW,
- APP_LAUNCH_STATE_NETWORK_WAIT_TIMEOUT,
- APP_LAUNCH_STATE_SHOWING_NETWORK_CONFIGURE_UI,
- };
-
- class Delegate {
- public:
- // Invoked when the configure network control is clicked.
- virtual void OnConfigureNetwork() = 0;
-
- // Invoked when the app launch bailout shortcut key is pressed.
- virtual void OnCancelAppLaunch() = 0;
-
- // Invoked when the network config shortcut key is pressed.
- virtual void OnNetworkConfigRequested(bool requested) = 0;
-
- // Invoked when network state is changed. |online| is true if the device
- // is connected to the Internet.
- virtual void OnNetworkStateChanged(bool online) = 0;
-
- protected:
- virtual ~Delegate() {}
- };
-
- virtual ~AppLaunchSplashScreenActor() {}
-
- // Sets screen this actor belongs to.
- virtual void SetDelegate(Delegate* screen) = 0;
-
- // Shows the contents of the screen.
- virtual void Show(const std::string& app_id) = 0;
-
- // Hides the contents of the screen.
- virtual void Hide() = 0;
-
- // Set the current app launch state.
- virtual void UpdateAppLaunchState(AppLaunchState state) = 0;
-
- // Sets whether configure network control is visible.
- virtual void ToggleNetworkConfig(bool visible) = 0;
-
- // Shows the network error and configure UI.
- virtual void ShowNetworkConfigureUI() = 0;
-
- // Returns true if the default network has Internet access.
- virtual bool IsNetworkReady() = 0;
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_APP_LAUNCH_SPLASH_SCREEN_ACTOR_H_

Powered by Google App Engine
This is Rietveld 408576698