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

Side by Side Diff: content/browser/device_orientation/motion_message_filter.h

Issue 10698046: Implements part of Device Motion in the Renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resets last_motion_ 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_MOTION_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_MOTION_MESSAGE_FILTER_H_
7
8 #include <map>
9
10 #include "content/browser/device_orientation/message_filter.h"
11
12 namespace content {
13
14 class MotionMessageFilter : public MessageFilter {
15 public:
16 MotionMessageFilter();
17
18 // MessageFilter implementation.
19 virtual bool OnMessageReceived(const IPC::Message& message,
20 bool* message_was_ok) OVERRIDE;
21
22 private:
23 virtual ~MotionMessageFilter();
24
25 DISALLOW_COPY_AND_ASSIGN(MotionMessageFilter);
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_MOTION_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/device_orientation/motion.cc ('k') | content/browser/device_orientation/motion_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698