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

Unified Diff: chrome/browser/ui/views/aura/screen_orientation_listener.h

Issue 8678019: Move sensors interface into content/public/browser (since it's only used by browser directory). M... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura typo Created 9 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: chrome/browser/ui/views/aura/screen_orientation_listener.h
===================================================================
--- chrome/browser/ui/views/aura/screen_orientation_listener.h (revision 111374)
+++ chrome/browser/ui/views/aura/screen_orientation_listener.h (working copy)
@@ -8,10 +8,10 @@
#include "base/compiler_specific.h"
#include "base/memory/singleton.h"
-#include "content/common/sensors_listener.h"
+#include "content/public/browser/sensors_listener.h"
// A singleton object to manage screen orientation.
-class ScreenOrientationListener : public sensors::Listener {
+class ScreenOrientationListener : public content::SensorsListener {
public:
// Returns the singleton object.
static ScreenOrientationListener* GetInstance();
@@ -24,7 +24,7 @@
// sensors::Listener implementation
virtual void OnScreenOrientationChanged(
- const sensors::ScreenOrientation& change) OVERRIDE;
+ content::ScreenOrientation change) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ScreenOrientationListener);
};
« no previous file with comments | « chrome/browser/chromeos/dbus/sensors_client.cc ('k') | chrome/browser/ui/views/aura/screen_orientation_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698