/external/chromium_org/chrome/test/chromedriver/chrome/ |
geolocation_override_manager_unittest.cc | 11 #include "chrome/test/chromedriver/chrome/geoposition.h" 57 const Geoposition& geoposition) { 63 ASSERT_EQ(geoposition.latitude, latitude); 64 ASSERT_EQ(geoposition.longitude, longitude); 65 ASSERT_EQ(geoposition.accuracy, accuracy); 73 Geoposition geoposition = {1, 2, 3}; local 74 manager.OverrideGeolocation(geoposition); 77 AssertGeolocationCommand(client.commands_[0], geoposition)); 92 Geoposition geoposition = {1, 2, 3}; local 110 Geoposition geoposition = {1, 2, 3}; local [all...] |
geolocation_override_manager.h | 20 struct Geoposition; 30 Status OverrideGeolocation(const Geoposition& geoposition); 42 scoped_ptr<Geoposition> overridden_geoposition_;
|
geolocation_override_manager.cc | 9 #include "chrome/test/chromedriver/chrome/geoposition.h" 21 const Geoposition& geoposition) { 22 overridden_geoposition_.reset(new Geoposition(geoposition));
|
geoposition.h | 8 struct Geoposition {
|
/external/chromium_org/content/browser/geolocation/ |
location_provider_android.h | 10 #include "content/public/common/geoposition.h" 14 struct Geoposition; 23 void NotifyNewGeoposition(const Geoposition& position); 28 virtual void GetPosition(Geoposition* position) OVERRIDE; 33 Geoposition last_position_;
|
location_provider_android.cc | 9 #include "content/public/common/geoposition.h" 22 const Geoposition& position) { 35 void LocationProviderAndroid::GetPosition(Geoposition* position) {
|
geolocation_provider_unittest.cc | 54 virtual void OnLocationUpdate(const Geoposition& position) = 0; 59 MOCK_METHOD1(OnLocationUpdate, void(const Geoposition& position)); 64 virtual void OnLocationUpdate(const Geoposition& position) OVERRIDE { 72 MOCK_METHOD1(Callback, void(const Geoposition& position)); 76 : public MatcherInterface<const Geoposition&> { 78 explicit GeopositionEqMatcher(const Geoposition& expected) 81 virtual bool MatchAndExplain(const Geoposition& actual, 104 Geoposition expected_; 109 Matcher<const Geoposition&> GeopositionEq(const Geoposition& expected) [all...] |
location_api_adapter_android.cc | 94 const Geoposition& geoposition) { 98 GetInstance()->location_provider_->NotifyNewGeoposition(geoposition); 109 Geoposition position; 127 Geoposition position_error; 128 position_error.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE; 153 const Geoposition& geoposition) { 161 geoposition));
|
location_arbitrator_impl.h | 16 #include "content/public/common/geoposition.h" 37 typedef base::Callback<void(const Geoposition&)> LocationUpdateCallback; 75 const Geoposition& new_position); 80 bool IsNewPositionBetter(const Geoposition& old_position, 81 const Geoposition& new_position, 93 Geoposition position_;
|
mock_location_provider.h | 13 #include "content/public/common/geoposition.h" 26 void HandlePositionChanged(const Geoposition& position); 31 virtual void GetPosition(Geoposition* position) OVERRIDE; 34 Geoposition position_;
|
location_api_adapter_android.h | 17 struct Geoposition; 64 void OnNewGeopositionInternal(const Geoposition& geoposition); 67 static void NotifyProviderNewGeoposition(const Geoposition& geoposition);
|
network_location_provider.h | 22 #include "content/public/common/geoposition.h" 46 const Geoposition& position); 51 const Geoposition* FindPosition(const WifiData& wifi_data); 62 typedef std::map<base::string16, Geoposition> CacheMap; 77 virtual void GetPosition(Geoposition *position) OVERRIDE; 93 void LocationResponseAvailable(const Geoposition& position, 117 Geoposition position_;
|
location_arbitrator_impl_unittest.cc | 10 #include "content/public/common/geoposition.h" 24 last_position_.error_code = Geoposition::ERROR_CODE_NONE; 28 void OnLocationUpdate(const Geoposition& position) { 32 Geoposition last_position_; 49 Geoposition position; 50 position.error_code = Geoposition::ERROR_CODE_NONE; 127 Geoposition geoposition = observer_->last_position_; local 128 EXPECT_TRUE(geoposition.Validate()); 129 EXPECT_DOUBLE_EQ(latitude, geoposition.latitude) [all...] |
geolocation_provider_impl.cc | 21 const Geoposition& position, 35 const Geoposition& position, 64 position_.error_code != Geoposition::ERROR_CODE_NONE) { 99 void GeolocationProviderImpl::OnLocationUpdate(const Geoposition& position) { 111 const Geoposition& position) { 147 // We have no more observers, so we clear the cached geoposition so that 149 position_ = Geoposition(); 203 void GeolocationProviderImpl::NotifyClients(const Geoposition& position) { 206 position.error_code != Geoposition::ERROR_CODE_NONE);
|
location_provider_base.cc | 15 void LocationProviderBase::NotifyCallback(const Geoposition& position) {
|
location_provider_base.h | 20 void NotifyCallback(const Geoposition& position);
|
mock_location_arbitrator.cc | 8 #include "content/public/common/geoposition.h"
|
mock_location_arbitrator.h | 14 struct Geoposition;
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
Geoposition.h | 37 class Geoposition : public RefCounted<Geoposition>, public ScriptWrappable { 39 static PassRefPtr<Geoposition> create(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) 41 return adoptRef(new Geoposition(coordinates, timestamp)); 44 PassRefPtr<Geoposition> isolatedCopy() const 46 return Geoposition::create(m_coordinates->isolatedCopy(), m_timestamp); 53 Geoposition(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp)
|
/external/chromium_org/content/renderer/ |
geolocation_dispatcher.cc | 117 const Geoposition& geoposition) { 123 if (geoposition.Validate()) { 126 geoposition.timestamp.ToDoubleT(), 127 geoposition.latitude, geoposition.longitude, 128 geoposition.accuracy, 130 geoposition.altitude > -10000., 131 geoposition.altitude, 132 geoposition.altitude_accuracy >= 0. [all...] |
geolocation_dispatcher.h | 22 struct Geoposition; 53 void OnPositionUpdated(const content::Geoposition& geoposition);
|
/external/chromium_org/content/common/ |
geolocation_messages.h | 8 #include "content/public/common/geoposition.h" 14 IPC_ENUM_TRAITS(content::Geoposition::ErrorCode) 16 IPC_STRUCT_TRAITS_BEGIN(content::Geoposition) 40 content::Geoposition /* geoposition */) 61 // with the updated geoposition, or an error (access denied, location
|
/external/chromium_org/content/public/common/ |
geoposition.cc | 5 #include "content/public/common/geoposition.h" 21 Geoposition::Geoposition() 32 bool Geoposition::Validate() const {
|
geoposition.h | 5 // This file declares the Geoposition structure, used to represent a position 19 struct CONTENT_EXPORT Geoposition { 32 Geoposition();
|
/external/chromium_org/content/port/browser/ |
location_provider.h | 10 #include "content/public/common/geoposition.h" 21 typedef base::Callback<void(const LocationProvider*, const Geoposition&)> 24 // This callback will be used to notify when a new Geoposition becomes 43 virtual void GetPosition(Geoposition* position) = 0;
|