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

Unified Diff: ash/shell.h

Issue 680383007: DeviceOrientation API on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reduce Singleton Usage Created 6 years, 1 month 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: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 028609705d7405ce3e6579a25f3444abdb95d0a9..7132df8bef625207db976d2600577bdaf858b418 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -120,6 +120,7 @@ class ScopedTargetRootWindow;
class ScreenAsh;
class ScreenOrientationDelegate;
class ScreenPositionController;
+class SensorManagerDelegateChromeOS;
class SessionStateDelegate;
class Shelf;
class ShelfDelegate;
@@ -733,6 +734,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// Listens for output changes and updates the display manager.
scoped_ptr<DisplayChangeObserver> display_change_observer_;
+ // Listens for accelerometer events to update the content shell.
+ scoped_ptr<SensorManagerDelegateChromeOS> sensor_manager_delegate_;
+
// Implements content::ScreenOrientationDelegate for ChromeOS
scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_;

Powered by Google App Engine
This is Rietveld 408576698