Lines Matching refs:Page
32 #include "core/page/Frame.h"
33 #include "core/page/Page.h"
263 Page* Geolocation::page() const
265 return document() ? document()->page() : 0;
270 Page* page = this->page();
271 if (page && m_allowGeolocation == InProgress)
272 GeolocationController::from(page)->cancelPermissionRequest(this);
273 // The frame may be moving to a new page and we want to get the permissions from the new page's client.
282 Page* page = this->page();
283 if (!page)
286 m_lastPosition = createGeoposition(GeolocationController::from(page)->lastPosition());
321 // the permission state can not change again in the lifetime of this page.
592 Page* page = this->page();
593 if (!page)
599 GeolocationController::from(page)->requestPermission(this);
643 Page* page = this->page();
644 if (!page)
647 GeolocationController::from(page)->addObserver(this, notifier->options()->enableHighAccuracy());
653 Page* page = this->page();
654 if (!page)
657 GeolocationController::from(page)->removeObserver(this);