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

Unified Diff: ash/shell.h

Issue 680383007: DeviceOrientation API on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/content/accelerometer/sensor_manager_delegate_chromeos.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 e9dd6ecbe98e8ce5e8f795698d7fb29cc837c482..d9e969e6dfa8fd3e5f377d1ff8b2a347e0c40ec3 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -125,6 +125,7 @@ class ScopedTargetRootWindow;
class ScreenAsh;
class ScreenOrientationController;
class ScreenPositionController;
+class SensorManagerDelegateChromeOS;
class SessionStateDelegate;
class Shelf;
class ShelfDelegate;
@@ -736,6 +737,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::ScreenOrientationController for ChromeOS
scoped_ptr<ScreenOrientationController> screen_orientation_controller_;
« no previous file with comments | « ash/content/accelerometer/sensor_manager_delegate_chromeos.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698