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

Side by Side Diff: chrome/browser/device_orientation/data_fetcher.h

Issue 3136008: Implement device_orientation::Provider. (Closed)
Patch Set: Patch Created 10 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
« no previous file with comments | « no previous file | chrome/browser/device_orientation/orientation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_H_
6 #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_
7
8 namespace device_orientation {
9
10 class Orientation;
11
12 class DataFetcher {
13 public:
14 virtual ~DataFetcher() {}
15 virtual bool GetOrientation(Orientation*) = 0;
16 virtual int MinSamplingIntervalMs() const { return 0; }
17 };
18
19 } // namespace device_orientation
20
21 #endif // CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/device_orientation/orientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698