OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PositionErrorCallback
(Results
1 - 8
of
8
) sorted by null
/external/webkit/WebCore/page/
PositionErrorCallback.h
36
class
PositionErrorCallback
: public RefCounted<
PositionErrorCallback
> {
38
virtual ~
PositionErrorCallback
() { }
Geolocation.idl
31
[Custom] void getCurrentPosition(in PositionCallback successCallback, in
PositionErrorCallback
errorCallback, in PositionOptions options);
33
[Custom] long watchPosition(in PositionCallback successCallback, in
PositionErrorCallback
errorCallback, in PositionOptions options);
Geolocation.h
38
#include "
PositionErrorCallback
.h"
75
void getCurrentPosition(PassRefPtr<PositionCallback>, PassRefPtr<
PositionErrorCallback
>, PassRefPtr<PositionOptions>);
76
int watchPosition(PassRefPtr<PositionCallback>, PassRefPtr<
PositionErrorCallback
>, PassRefPtr<PositionOptions>);
99
static PassRefPtr<GeoNotifier> create(Geolocation* geolocation, PassRefPtr<PositionCallback> positionCallback, PassRefPtr<
PositionErrorCallback
>
positionErrorCallback
, PassRefPtr<PositionOptions> options) { return adoptRef(new GeoNotifier(geolocation, positionCallback,
positionErrorCallback
, options)); }
110
RefPtr<
PositionErrorCallback
> m_errorCallback;
117
GeoNotifier(Geolocation*, PassRefPtr<PositionCallback>, PassRefPtr<
PositionErrorCallback
>, PassRefPtr<PositionOptions>);
161
PassRefPtr<GeoNotifier> startRequest(PassRefPtr<PositionCallback>, PassRefPtr<
PositionErrorCallback
>, PassRefPtr<PositionOptions>);
Geolocation.cpp
88
Geolocation::GeoNotifier::GeoNotifier(Geolocation* geolocation, PassRefPtr<PositionCallback> successCallback, PassRefPtr<
PositionErrorCallback
> errorCallback, PassRefPtr<PositionOptions> options)
272
void Geolocation::getCurrentPosition(PassRefPtr<PositionCallback> successCallback, PassRefPtr<
PositionErrorCallback
> errorCallback, PassRefPtr<PositionOptions> options)
280
int Geolocation::watchPosition(PassRefPtr<PositionCallback> successCallback, PassRefPtr<
PositionErrorCallback
> errorCallback, PassRefPtr<PositionOptions> options)
293
PassRefPtr<Geolocation::GeoNotifier> Geolocation::startRequest(PassRefPtr<PositionCallback> successCallback, PassRefPtr<
PositionErrorCallback
> errorCallback, PassRefPtr<PositionOptions> options)
/external/webkit/WebCore/bindings/js/
JSCustomPositionErrorCallback.h
30
#include "
PositionErrorCallback
.h"
37
class JSCustomPositionErrorCallback : public
PositionErrorCallback
{
JSGeolocationCustom.cpp
56
static PassRefPtr<
PositionErrorCallback
> createPositionErrorCallback(ExecState* exec, JSDOMGlobalObject* globalObject, JSValue value)
138
// Arguments: PositionCallback, (optional)
PositionErrorCallback
, (optional)PositionOptions
145
RefPtr<
PositionErrorCallback
>
positionErrorCallback
= createPositionErrorCallback(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), args.at(1));
154
m_impl->getCurrentPosition(positionCallback.release(),
positionErrorCallback
.release(), positionOptions.release());
160
// Arguments: PositionCallback, (optional)
PositionErrorCallback
, (optional)PositionOptions
167
RefPtr<
PositionErrorCallback
>
positionErrorCallback
= createPositionErrorCallback(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), args.at(1));
176
int watchID = m_impl->watchPosition(positionCallback.release(),
positionErrorCallback
.release(), positionOptions.release());
/external/webkit/WebCore/bindings/v8/custom/
V8CustomPositionErrorCallback.h
29
#include "
PositionErrorCallback
.h"
39
class V8CustomPositionErrorCallback : public
PositionErrorCallback
{
V8GeolocationCustom.cpp
63
static PassRefPtr<
PositionErrorCallback
> createPositionErrorCallback(v8::Local<v8::Value> value, bool& succeeded)
180
RefPtr<
PositionErrorCallback
>
positionErrorCallback
= createPositionErrorCallback(args[1], succeeded);
190
geolocation->getCurrentPosition(positionCallback.release(),
positionErrorCallback
.release(), positionOptions.release());
205
RefPtr<
PositionErrorCallback
>
positionErrorCallback
= createPositionErrorCallback(args[1], succeeded);
215
int watchId = geolocation->watchPosition(positionCallback.release(),
positionErrorCallback
.release(), positionOptions.release());
Completed in 489 milliseconds