Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index d86fd28b1927842502e6308b0062a3b6b482da30..5172e2f2647ae2dccc9bf390417b764cc3942ff4 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -128,6 +128,7 @@ class SystemTray; |
class ToplevelWindowEventHandler; |
class TouchTransformerController; |
class TouchObserverHUD; |
+class ScreenLayoutObserver; |
class UserWallpaperDelegate; |
class VirtualKeyboardController; |
class VideoActivityNotifier; |
@@ -412,6 +413,10 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate, |
return display_error_observer_.get(); |
} |
+ ScreenLayoutObserver* screen_layout_observer() { |
+ return screen_layout_observer_.get(); |
+ } |
+ |
ResolutionNotificationController* resolution_notification_controller() { |
return resolution_notification_controller_.get(); |
} |
@@ -593,6 +598,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate, |
// Implements content::ScreenOrientationController for ChromeOS |
std::unique_ptr<ScreenOrientationController> screen_orientation_controller_; |
+ std::unique_ptr<ScreenLayoutObserver> screen_layout_observer_; |
std::unique_ptr<TouchTransformerController> touch_transformer_controller_; |