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

Unified Diff: ash/shell.h

Issue 2523873002: Remove DisplayChangeObserver ash dependencies. (Closed)
Patch Set: Change DCO constructor slightly. Created 4 years 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/display/window_tree_host_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 8e0711e77eb9d79cc476c731d77ec3fac5eafeca..0234a6cfa660328bdd5494defb31578867d90e30 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -106,6 +106,7 @@ class ScreenPositionController;
class SessionStateDelegate;
class ShellDelegate;
struct ShellInitParams;
+class ShutdownObserver;
class StickyKeysController;
class SystemGestureEventFilter;
class SystemModalContainerEventFilter;
@@ -510,6 +511,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// Listens for output changes and updates the display manager.
std::unique_ptr<DisplayChangeObserver> display_change_observer_;
+ // Listens for shutdown and updates DisplayConfigurator.
+ std::unique_ptr<ShutdownObserver> shutdown_observer_;
+
// Implements content::ScreenOrientationController for ChromeOS
std::unique_ptr<ScreenOrientationController> screen_orientation_controller_;
std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_;
« no previous file with comments | « ash/display/window_tree_host_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698