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

Unified Diff: content/browser/device_orientation/orientation_message_filter.h

Issue 10755002: Refactors DeviceOrientation to make it more extensible (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Small changes to appease try bots Created 8 years, 4 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
Index: content/browser/device_orientation/orientation_message_filter.h
diff --git a/content/browser/device_orientation/orientation_message_filter.h b/content/browser/device_orientation/orientation_message_filter.h
index 1adf780859b1aa9ce6ce16c5f3a8f58c7f17fc90..736642260a19f8701a0e7c43b1113c6b6c23829e 100644
--- a/content/browser/device_orientation/orientation_message_filter.h
+++ b/content/browser/device_orientation/orientation_message_filter.h
@@ -7,12 +7,11 @@
#include <map>
-#include "content/browser/device_orientation/provider.h"
-#include "content/public/browser/browser_message_filter.h"
+#include "content/browser/device_orientation/message_filter.h"
namespace device_orientation {
-class OrientationMessageFilter : public content::BrowserMessageFilter {
+class OrientationMessageFilter : public MessageFilter {
public:
OrientationMessageFilter();
@@ -23,17 +22,6 @@ class OrientationMessageFilter : public content::BrowserMessageFilter {
private:
virtual ~OrientationMessageFilter();
- void OnStartUpdating(int render_view_id);
- void OnStopUpdating(int render_view_id);
-
- // Helper class that observes a Provider and forwards updates to a RenderView.
- class ObserverDelegate;
-
- // map from render_view_id to ObserverDelegate.
- std::map<int, scoped_refptr<ObserverDelegate> > observers_map_;
-
- scoped_refptr<Provider> provider_;
-
DISALLOW_COPY_AND_ASSIGN(OrientationMessageFilter);
};
« no previous file with comments | « content/browser/device_orientation/orientation.cc ('k') | content/browser/device_orientation/orientation_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698