OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 : m_latitude(latitude) | 55 : m_latitude(latitude) |
56 , m_longitude(longitude) | 56 , m_longitude(longitude) |
57 , m_altitude(altitude) | 57 , m_altitude(altitude) |
58 , m_accuracy(accuracy) | 58 , m_accuracy(accuracy) |
59 , m_altitudeAccuracy(altitudeAccuracy) | 59 , m_altitudeAccuracy(altitudeAccuracy) |
60 , m_heading(heading) | 60 , m_heading(heading) |
61 , m_speed(speed) | 61 , m_speed(speed) |
62 , m_canProvideAltitude(providesAltitude) | 62 , m_canProvideAltitude(providesAltitude) |
63 , m_canProvideAltitudeAccuracy(providesAltitudeAccuracy) | 63 , m_canProvideAltitudeAccuracy(providesAltitudeAccuracy) |
64 , m_canProvideHeading(providesHeading) | 64 , m_canProvideHeading(providesHeading) |
65 , m_canProvideSpeed(providesSpeed) | 65 , m_canProvideSpeed(providesSpeed) { } |
66 { | |
67 ScriptWrappable::init(this); | |
68 } | |
69 | 66 |
70 double m_latitude; | 67 double m_latitude; |
71 double m_longitude; | 68 double m_longitude; |
72 double m_altitude; | 69 double m_altitude; |
73 double m_accuracy; | 70 double m_accuracy; |
74 double m_altitudeAccuracy; | 71 double m_altitudeAccuracy; |
75 double m_heading; | 72 double m_heading; |
76 double m_speed; | 73 double m_speed; |
77 | 74 |
78 bool m_canProvideAltitude; | 75 bool m_canProvideAltitude; |
79 bool m_canProvideAltitudeAccuracy; | 76 bool m_canProvideAltitudeAccuracy; |
80 bool m_canProvideHeading; | 77 bool m_canProvideHeading; |
81 bool m_canProvideSpeed; | 78 bool m_canProvideSpeed; |
82 }; | 79 }; |
83 | 80 |
84 } // namespace blink | 81 } // namespace blink |
85 | 82 |
86 #endif // Coordinates_h | 83 #endif // Coordinates_h |
OLD | NEW |