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

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

Issue 18572014: Implement Android shared memory data fetcher for Device Motion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-sync-12June-tryASYNC-2-bis-tryRebase-6
Patch Set: fixed comments Created 7 years, 5 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) 2013 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 CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_
6 #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_
7
8 #include "content/browser/device_orientation/data_fetcher.h"
9 #include "content/browser/device_orientation/device_data.h"
10
11 namespace content {
12
13 class DataFetcherOrientationAndroid : public DataFetcher {
14 public:
15 // Factory function. We'll listen for events for the lifetime of this object.
16 // Returns NULL on error.
17 static DataFetcher* Create();
18
19 virtual ~DataFetcherOrientationAndroid();
20
21 // Implementation of DataFetcher.
22 virtual const DeviceData* GetDeviceData(DeviceData::Type type) OVERRIDE;
23
24 protected:
25 DataFetcherOrientationAndroid();
26
27 DISALLOW_COPY_AND_ASSIGN(DataFetcherOrientationAndroid);
28 };
29
30 } // namespace content
31
32 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_ORIENTATION_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698