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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 19 matching lines...) Expand all
30 #include "wtf/PassRefPtr.h" 30 #include "wtf/PassRefPtr.h"
31 #include "wtf/RefCounted.h" 31 #include "wtf/RefCounted.h"
32 32
33 namespace blink { 33 namespace blink {
34 class WebDeviceOrientationData; 34 class WebDeviceOrientationData;
35 } 35 }
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class DeviceOrientationData : public RefCountedWillBeGarbageCollected<DeviceOrie ntationData> { 39 class DeviceOrientationData : public RefCountedWillBeGarbageCollected<DeviceOrie ntationData> {
40 DECLARE_GC_INFO;
41 public: 40 public:
42 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(); 41 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create();
43 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(bool canProvideA lpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, doub le gamma, bool canProvideAbsolute = false, bool absolute = false);
44 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(const blink::Web DeviceOrientationData&); 43 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(const blink::Web DeviceOrientationData&);
45 void trace(Visitor*) { } 44 void trace(Visitor*) { }
46 45
47 double alpha() const; 46 double alpha() const;
48 double beta() const; 47 double beta() const;
49 double gamma() const; 48 double gamma() const;
50 bool absolute() const; 49 bool absolute() const;
(...skipping 14 matching lines...) Expand all
65 bool m_canProvideAbsolute; 64 bool m_canProvideAbsolute;
66 double m_alpha; 65 double m_alpha;
67 double m_beta; 66 double m_beta;
68 double m_gamma; 67 double m_gamma;
69 bool m_absolute; 68 bool m_absolute;
70 }; 69 };
71 70
72 } // namespace WebCore 71 } // namespace WebCore
73 72
74 #endif // DeviceOrientationData_h 73 #endif // DeviceOrientationData_h
OLDNEW
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionData.cpp ('k') | Source/modules/device_orientation/DeviceOrientationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698