/external/chromium_org/chrome/browser/extensions/api/location/ |
location_manager.h | 19 struct Geoposition; 75 const content::Geoposition& position, 81 const content::Geoposition& position);
|
location_manager.cc | 20 #include "content/public/common/geoposition.h" 40 virtual bool ShouldSendUpdate(const content::Geoposition&) const = 0; 43 virtual void OnPositionReported(const content::Geoposition&) = 0; 61 virtual bool ShouldSendUpdate(const content::Geoposition& position) const 71 virtual void OnPositionReported(const content::Geoposition& position) 108 content::Geoposition last_updated_position_; 121 virtual bool ShouldSendUpdate(const content::Geoposition&) const OVERRIDE { 126 virtual void OnPositionReported(const content::Geoposition&) OVERRIDE { 177 void OnLocationUpdate(const content::Geoposition& position); 181 bool ShouldSendUpdate(const content::Geoposition& position) [all...] |
/external/chromium_org/content/browser/geolocation/ |
mock_location_provider.cc | 36 void MockLocationProvider::HandlePositionChanged(const Geoposition& position) { 59 void MockLocationProvider::GetPosition(Geoposition* position) { 86 position_.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
|
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_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...] |
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.cc | 81 position_ = Geoposition(); 127 const Geoposition& new_position) { 129 new_position.error_code != Geoposition::ERROR_CODE_NONE); 175 const Geoposition& old_position, const Geoposition& new_position,
|
network_location_provider.cc | 28 const Geoposition& position) { 58 const Geoposition* NetworkLocationProvider::PositionCache::FindPosition( 134 void NetworkLocationProvider::GetPosition(Geoposition* position) { 164 const Geoposition& position, 236 const Geoposition* cached_position =
|
network_location_request.cc | 18 #include "content/public/common/geoposition.h" 85 Geoposition* position, 93 Geoposition* position, 152 Geoposition position; 277 Geoposition* position) { 278 position->error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE; 293 Geoposition* position, 353 Geoposition* position, 357 DCHECK(position->error_code == Geoposition::ERROR_CODE_NONE);
|
network_location_provider_unittest.cc | 39 const Geoposition& position) { 189 static Geoposition CreateReferencePosition(int id) { 190 Geoposition pos; 387 Geoposition position; 546 Geoposition pos = CreateReferencePosition(i); 549 const Geoposition* item =
|
geolocation_dispatcher_host.cc | 18 #include "content/public/common/geoposition.h" 79 void OnLocationUpdate(const Geoposition& position); 149 const Geoposition& geoposition) { 155 Send(new GeolocationMsg_PositionUpdated(it->first, geoposition));
|
/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...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_status_collector.h | 24 #include "content/public/common/geoposition.h" 111 void OnLocationUpdate(const content::Geoposition& geoposition); 112 void CallCollector(const content::Geoposition& geoposition); 159 void ReceiveGeolocationUpdate(const content::Geoposition&); 188 content::Geoposition position_;
|
device_status_collector_browsertest.cc | 53 scoped_ptr<content::Geoposition> mock_position_to_return_next; 55 void SetMockPositionToReturnNext(const content::Geoposition &position) { 56 mock_position_to_return_next.reset(new content::Geoposition(position)); 70 scoped_ptr<content::Geoposition> position( 560 content::Geoposition valid_fix; 566 content::Geoposition invalid_fix; 568 content::Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
|
device_status_collector.cc | 108 const content::Geoposition& geoposition) { 116 this, geoposition)); 120 const content::Geoposition& geoposition) { 121 owner_callback_.Run(geoposition); 178 content::Geoposition position; 253 position_ = content::Geoposition(); 576 const content::Geoposition& position) {
|
/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...] |
web_view.h | 23 struct Geoposition; 136 // Overrides normal geolocation with a given geoposition. 137 virtual Status OverrideGeolocation(const Geoposition& geoposition) = 0;
|
stub_web_view.h | 63 virtual Status OverrideGeolocation(const Geoposition& geoposition) OVERRIDE;
|
stub_web_view.cc | 112 Status StubWebView::OverrideGeolocation(const Geoposition& geoposition) {
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
Geolocation.h | 32 #include "modules/geolocation/Geoposition.h" 83 Geoposition* lastPosition(); 111 void runSuccessCallback(Geoposition*); 161 void sendPosition(GeoNotifierVector&, Geoposition*); 229 RefPtr<Geoposition> m_lastPosition;
|
Geolocation.cpp | 45 static PassRefPtr<Geoposition> createGeoposition(GeolocationPosition* position) 53 return Geoposition::create(coordinates.release(), convertSecondsToDOMTimeStamp(position->timestamp())); 111 void Geolocation::GeoNotifier::runSuccessCallback(Geoposition* position) 276 Geoposition* Geolocation::lastPosition() 404 Geoposition* cachedPosition = lastPosition(); 471 void Geolocation::sendPosition(GeoNotifierVector& notifiers, Geoposition* position)
|
/external/chromium_org/components/autofill/content/browser/risk/ |
fingerprint.cc | 39 #include "content/public/common/geoposition.h" 184 // Waits for geoposition data to be loaded. Lives on the IO thread. 187 // |callback_| will be called on the UI thread with the loaded geoposition, 191 const base::Callback<void(const content::Geoposition&)>& callback); 196 void OnGotGeoposition(const content::Geoposition& geoposition); 198 // The callback that will be called once the geoposition is available. 200 const base::Callback<void(const content::Geoposition&)> callback_; 206 // if the geoposition has not been loaded. 212 const base::Callback<void(const content::Geoposition&)>& callback [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
session.h | 17 #include "chrome/test/chromedriver/chrome/geoposition.h" 69 scoped_ptr<Geoposition> overridden_geoposition;
|
/external/chromium/chrome/browser/geolocation/ |
geolocation_browsertest.cc | 24 #include "content/common/geoposition.h" 184 void NotifyGeoposition(const Geoposition& geoposition) { 186 MockLocationProvider::instance_->HandlePositionChanged(geoposition); 195 // 3. Allowing the infobar does not trigger an error, and allow a geoposition to 286 Geoposition GeopositionFromLatLong(double latitude, double longitude) { 287 Geoposition geoposition; local 288 geoposition.latitude = latitude; 289 geoposition.longitude = longitude [all...] |
/external/chromium_org/chrome/browser/autofill/risk/ |
fingerprint_browsertest.cc | 15 #include "content/public/common/geoposition.h" 180 content::Geoposition position;
|