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

Unified Diff: ash/shell.h

Issue 822503003: Change AccelerometerReader to a Singleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | ash/shell.cc » ('j') | chromeos/accelerometer/accelerometer_reader.cc » ('J')
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 9850afefb4298bcdf6af07a2e38fd316907c5768..905f07d8245d5c9f5eee784061c2ee6cfb718c7c 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -42,12 +42,6 @@ class FocusClient;
}
}
-#if defined(OS_CHROMEOS)
-namespace chromeos {
-class AccelerometerReader;
-}
-#endif
-
namespace gfx {
class ImageSkia;
class Point;
@@ -518,10 +512,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
}
#if defined(OS_CHROMEOS)
- chromeos::AccelerometerReader* accelerometer_reader() {
- return accelerometer_reader_.get();
- }
-
// TODO(oshima): Move these objects to DisplayController.
ui::DisplayConfigurator* display_configurator() {
return display_configurator_.get();
@@ -715,7 +705,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
scoped_ptr<LocaleNotificationController> locale_notification_controller_;
#if defined(OS_CHROMEOS)
- scoped_ptr<chromeos::AccelerometerReader> accelerometer_reader_;
scoped_ptr<PowerEventObserver> power_event_observer_;
scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_;
scoped_ptr<VideoActivityNotifier> video_activity_notifier_;
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | chromeos/accelerometer/accelerometer_reader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698