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

Side by Side Diff: Source/modules/device_orientation/DeviceOrientationData.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef DeviceOrientationData_h 26 #ifndef DeviceOrientationData_h
27 #define DeviceOrientationData_h 27 #define DeviceOrientationData_h
28 28
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "wtf/RefCounted.h" 30 #include "wtf/RefCounted.h"
31 31
32 namespace blink { 32 namespace blink {
33 class WebDeviceOrientationData; 33 class WebDeviceOrientationData;
34 } 34 }
35 35
36 namespace WebCore { 36 namespace blink {
37 37
38 class DeviceOrientationData : public RefCountedWillBeGarbageCollected<DeviceOrie ntationData> { 38 class DeviceOrientationData : public RefCountedWillBeGarbageCollected<DeviceOrie ntationData> {
39 public: 39 public:
40 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(); 40 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create();
41 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(bool canProvideA lpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, doub le gamma, bool canProvideAbsolute = false, bool absolute = false); 41 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(bool canProvideA lpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, doub le gamma, bool canProvideAbsolute = false, bool absolute = false);
42 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(const blink::Web DeviceOrientationData&); 42 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(const blink::Web DeviceOrientationData&);
43 void trace(Visitor*) { } 43 void trace(Visitor*) { }
44 44
45 double alpha() const; 45 double alpha() const;
46 double beta() const; 46 double beta() const;
(...skipping 13 matching lines...) Expand all
60 bool m_canProvideAlpha; 60 bool m_canProvideAlpha;
61 bool m_canProvideBeta; 61 bool m_canProvideBeta;
62 bool m_canProvideGamma; 62 bool m_canProvideGamma;
63 bool m_canProvideAbsolute; 63 bool m_canProvideAbsolute;
64 double m_alpha; 64 double m_alpha;
65 double m_beta; 65 double m_beta;
66 double m_gamma; 66 double m_gamma;
67 bool m_absolute; 67 bool m_absolute;
68 }; 68 };
69 69
70 } // namespace WebCore 70 } // namespace blink
71 71
72 #endif // DeviceOrientationData_h 72 #endif // DeviceOrientationData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698