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

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

Issue 10823318: Moves device_orientation to content namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Attempts to fix trybots 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_ 5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_ 6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/browser/device_orientation/device_data.h" 9 #include "content/browser/device_orientation/device_data.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace device_orientation { 12 namespace content {
13 13
14 class Orientation : public DeviceData { 14 class Orientation : public DeviceData {
15 public: 15 public:
16 // alpha, beta, gamma and absolute are the rotations around the axes as 16 // alpha, beta, gamma and absolute are the rotations around the axes as
17 // specified in http://dev.w3.org/geo/api/spec-source-orientation.html 17 // specified in http://dev.w3.org/geo/api/spec-source-orientation.html
18 // 18 //
19 // can_provide_{alpha,beta,gamma,absolute} is true if data can be provided 19 // can_provide_{alpha,beta,gamma,absolute} is true if data can be provided
20 // for that variable. 20 // for that variable.
21 CONTENT_EXPORT Orientation(); 21 CONTENT_EXPORT Orientation();
22 22
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 double alpha_; 61 double alpha_;
62 double beta_; 62 double beta_;
63 double gamma_; 63 double gamma_;
64 bool absolute_; 64 bool absolute_;
65 bool can_provide_alpha_; 65 bool can_provide_alpha_;
66 bool can_provide_beta_; 66 bool can_provide_beta_;
67 bool can_provide_gamma_; 67 bool can_provide_gamma_;
68 bool can_provide_absolute_; 68 bool can_provide_absolute_;
69 }; 69 };
70 70
71 } // namespace device_orientation 71 } // namespace content
72 72
73 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_ 73 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_ORIENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698