| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2009 Torch Mobile, Inc. | 3 * Copyright (C) 2009 Torch Mobile, Inc. |
| 4 * Copyright 2010, The Android Open Source Project | 4 * Copyright 2010, The Android Open Source Project |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "modules/geolocation/Geolocation.h" | 28 #include "modules/geolocation/Geolocation.h" |
| 29 | 29 |
| 30 #include "bindings/core/v8/SourceLocation.h" | 30 #include "bindings/core/v8/SourceLocation.h" |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "core/frame/Deprecation.h" | 32 #include "core/frame/Deprecation.h" |
| 33 #include "core/frame/HostsUsingFeatures.h" | 33 #include "core/frame/HostsUsingFeatures.h" |
| 34 #include "core/frame/PerformanceMonitor.h" | 34 #include "core/frame/PerformanceMonitor.h" |
| 35 #include "core/frame/Settings.h" | 35 #include "core/frame/Settings.h" |
| 36 #include "core/inspector/InspectorInstrumentation.h" | 36 #include "core/probe/CoreProbes.h" |
| 37 #include "modules/geolocation/Coordinates.h" | 37 #include "modules/geolocation/Coordinates.h" |
| 38 #include "modules/geolocation/GeolocationError.h" | 38 #include "modules/geolocation/GeolocationError.h" |
| 39 #include "modules/permissions/PermissionUtils.h" | 39 #include "modules/permissions/PermissionUtils.h" |
| 40 #include "platform/UserGestureIndicator.h" | 40 #include "platform/UserGestureIndicator.h" |
| 41 #include "public/platform/InterfaceProvider.h" | 41 #include "public/platform/InterfaceProvider.h" |
| 42 #include "public/platform/Platform.h" | 42 #include "public/platform/Platform.h" |
| 43 #include "wtf/Assertions.h" | 43 #include "wtf/Assertions.h" |
| 44 #include "wtf/CurrentTime.h" | 44 #include "wtf/CurrentTime.h" |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 PositionError::kPositionUnavailable, failedToStartServiceErrorMessage); | 552 PositionError::kPositionUnavailable, failedToStartServiceErrorMessage); |
| 553 error->setIsFatal(true); | 553 error->setIsFatal(true); |
| 554 handleError(error); | 554 handleError(error); |
| 555 } | 555 } |
| 556 | 556 |
| 557 void Geolocation::onPermissionConnectionError() { | 557 void Geolocation::onPermissionConnectionError() { |
| 558 onGeolocationPermissionUpdated(mojom::blink::PermissionStatus::DENIED); | 558 onGeolocationPermissionUpdated(mojom::blink::PermissionStatus::DENIED); |
| 559 } | 559 } |
| 560 | 560 |
| 561 } // namespace blink | 561 } // namespace blink |
| OLD | NEW |