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

Unified Diff: ash/common/shell_observer.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: 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
« no previous file with comments | « ash/common/shell_delegate.h ('k') | ash/common/shutdown_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shell_observer.h
diff --git a/ash/common/shell_observer.h b/ash/common/shell_observer.h
deleted file mode 100644
index facc29b9e2f289e6f2b7467ea49ebe413d625a70..0000000000000000000000000000000000000000
--- a/ash/common/shell_observer.h
+++ /dev/null
@@ -1,82 +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 ASH_COMMON_SHELL_OBSERVER_H_
-#define ASH_COMMON_SHELL_OBSERVER_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/login_status.h"
-
-namespace ash {
-
-class WmWindow;
-
-class ASH_EXPORT ShellObserver {
- public:
- // Invoked when the user logs in.
- virtual void OnLoginStateChanged(LoginStatus status) {}
-
- // Invoked when the application is exiting.
- virtual void OnAppTerminating() {}
-
- // Invoked when the screen is locked (after the lock window is visible) or
- // unlocked.
- virtual void OnLockStateChanged(bool locked) {}
-
- // Called when a casting session is started or stopped.
- virtual void OnCastingSessionStartedOrStopped(bool started) {}
-
- // Invoked after a non-primary root window is created.
- virtual void OnRootWindowAdded(WmWindow* root_window) {}
-
- // Invoked after the shelf has been created for |root_window|.
- virtual void OnShelfCreatedForRootWindow(WmWindow* root_window) {}
-
- // Invoked when the shelf alignment in |root_window| is changed.
- virtual void OnShelfAlignmentChanged(WmWindow* root_window) {}
-
- // Invoked when the shelf auto-hide behavior in |root_window| is changed.
- virtual void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {}
-
- // Invoked when the projection touch HUD is toggled.
- virtual void OnTouchHudProjectionToggled(bool enabled) {}
-
- // Invoked when entering or exiting fullscreen mode in |root_window|.
- virtual void OnFullscreenStateChanged(bool is_fullscreen,
- WmWindow* root_window) {}
-
- // Invoked when |pinned_window| enter or exit pinned mode.
- virtual void OnPinnedStateChanged(WmWindow* pinned_window) {}
-
- // Called when the overview mode is about to be started (before the windows
- // get re-arranged).
- virtual void OnOverviewModeStarting() {}
-
- // Called after overview mode has ended.
- virtual void OnOverviewModeEnded() {}
-
- // Called when the always maximize mode has started. Windows might still
- // animate though.
- virtual void OnMaximizeModeStarted() {}
-
- // Called when the maximize mode is about to end.
- virtual void OnMaximizeModeEnding() {}
-
- // Called when the maximize mode has ended. Windows may still be
- // animating but have been restored.
- virtual void OnMaximizeModeEnded() {}
-
- // Called when keyboard is activated/deactivated.
- virtual void OnVirtualKeyboardStateChanged(bool activated) {}
-
- // Called at the end of Shell::Init.
- virtual void OnShellInitialized() {}
-
- protected:
- virtual ~ShellObserver() {}
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SHELL_OBSERVER_H_
« no previous file with comments | « ash/common/shell_delegate.h ('k') | ash/common/shutdown_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698