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

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: Update new dependency 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/display/screen_orientation_controller_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..15c3997554790c5dd792dfbb83d8e028600e81e9 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;
@@ -517,10 +511,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();
@@ -714,7 +704,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 | « ash/content/display/screen_orientation_controller_chromeos.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698