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

Side by Side Diff: Source/modules/geolocation/Coordinates.h

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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
« no previous file with comments | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698