Commit f930faff authored by ddkilzer@apple.com's avatar ddkilzer@apple.com

JavaScriptCore:

2008-10-24  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=21475
        
        Provide support for the Geolocation API
        
        http://dev.w3.org/geo/api/spec-source.html

        * wtf/Platform.h: ENABLE_GEOLOCATION defaults to 0

WebCore:

2008-10-24  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=21475
        
        Provide support for the Geolocation API
        
        http://dev.w3.org/geo/api/spec-source.html

        Test: geolocation/geolocation-not-implemented.html

        * DerivedSources.make:
        * GNUmakefile.am: Added Geolocation support
        * WebCore.pro: Added Geolocation support
        * WebCore.vcproj/WebCore.vcproj: Added Geolocation support
        * WebCore.xcodeproj/project.pbxproj: Added Geolocation support
        * WebCoreSources.bkl: Added Geolocation support
        * bindings/js/JSCustomPositionCallback.cpp: Added.
        (WebCore::JSCustomPositionCallback::JSCustomPositionCallback):
        (WebCore::JSCustomPositionCallback::handleEvent):
        * bindings/js/JSCustomPositionCallback.h: Added.
        (WebCore::JSCustomPositionCallback::create):
        * bindings/js/JSCustomPositionErrorCallback.cpp: Added.
        (WebCore::JSCustomPositionErrorCallback::JSCustomPositionErrorCallback):
        (WebCore::JSCustomPositionErrorCallback::handleEvent):
        * bindings/js/JSCustomPositionErrorCallback.h: Added.
        (WebCore::JSCustomPositionErrorCallback::create):
        * bindings/js/JSDOMBinding.cpp: move markDOMObjectWrapper here from JSDOMWindowCustom
        (WebCore::markDOMObjectWrapper):
        * bindings/js/JSDOMBinding.h: move markDOMObjectWrapper here from JSDOMWindowCustom
        * bindings/js/JSDOMWindowCustom.cpp: move markDOMObjectWrapper to JSDOMBinding
        * bindings/js/JSGeolocationCustom.cpp: Added.
        (WebCore::JSGeolocation::getCurrentPosition):
        (WebCore::JSGeolocation::watchPosition):
        * bindings/js/JSNavigatorCustom.cpp: handle marking Geolocation
        (WebCore::JSNavigator::mark):
        * dom/Document.cpp:
        (WebCore::Document::Document):
        * dom/Document.h:
        (WebCore::Document::setUsingGeolocation):
        (WebCore::Document::usingGeolocation):
        * loader/FrameLoader.cpp: don't add to back forward cache if using Geolocation
        (WebCore::FrameLoader::canCachePage):
        * page/Geolocation.cpp: Added.
        (WebCore::Geolocation::GeoNotifier::GeoNotifier):
        (WebCore::Geolocation::GeoNotifier::timerFired):
        (WebCore::Geolocation::Geolocation):
        (WebCore::Geolocation::disconnectFrame):
        (WebCore::Geolocation::getCurrentPosition):
        (WebCore::Geolocation::watchPosition):
        (WebCore::Geolocation::clearWatch):
        (WebCore::Geolocation::stopUpdatingIfEmpty):
        (WebCore::Geolocation::sendErrorToOneShots):
        (WebCore::Geolocation::sendErrorToWatchers):
        (WebCore::Geolocation::sendPositionToOneShots):
        (WebCore::Geolocation::sendPositionToWatchers):
        (WebCore::Geolocation::handleError):
        (WebCore::Geolocation::geolocationServicePositionChanged):
        (WebCore::Geolocation::geolocationServiceErrorOccurred):
        * page/Geolocation.h: Added.
        (WebCore::Geolocation::create):
        (WebCore::Geolocation::~Geolocation):
        (WebCore::Geolocation::lastPosition):
        (WebCore::Geolocation::GeoNotifier::create):
        * page/Geolocation.idl: Added.
        * page/Geoposition.cpp: Added.
        (WebCore::Geoposition::toString):
        * page/Geoposition.h: Added.
        (WebCore::Geoposition::create):
        (WebCore::Geoposition::latitude):
        (WebCore::Geoposition::longitude):
        (WebCore::Geoposition::altitude):
        (WebCore::Geoposition::accuracy):
        (WebCore::Geoposition::altitudeAccuracy):
        (WebCore::Geoposition::heading):
        (WebCore::Geoposition::velocity):
        (WebCore::Geoposition::timestamp):
        (WebCore::Geoposition::Geoposition):
        * page/Geoposition.idl: Added.
        * page/Navigator.cpp:
        (WebCore::Navigator::disconnectFrame): disconnect Geolocation
        (WebCore::Navigator::geolocation): accessor for Geolocation
        * page/Navigator.h:
        (WebCore::Navigator::optionalGeolocation): accessor for Geolocation
        * page/Navigator.idl: accessor for Geolocation
        * page/PositionCallback.h: Added.
        (WebCore::PositionCallback::~PositionCallback):
        * page/PositionCallback.idl: Added.
        * page/PositionError.h: Added.
        (WebCore::PositionError::):
        (WebCore::PositionError::create):
        (WebCore::PositionError::code):
        (WebCore::PositionError::message):
        (WebCore::PositionError::PositionError):
        * page/PositionError.idl: Added.
        * page/PositionErrorCallback.h: Added.
        (WebCore::PositionErrorCallback::~PositionErrorCallback):
        * page/PositionErrorCallback.idl: Added.
        * page/PositionOptions.h: Added.
        (WebCore::PositionOptions::create):
        (WebCore::PositionOptions::enableHighAccuracy):
        (WebCore::PositionOptions::setEnableHighAccuracy):
        (WebCore::PositionOptions::timeout):
        (WebCore::PositionOptions::setTimeout):
        (WebCore::PositionOptions::PositionOptions):
        * page/PositionOptions.idl: Added.
        * platform/GeolocationService.cpp: Added.
        (WebCore::GeolocationService::GeolocationService):
        (WebCore::GeolocationService::positionChanged):
        (WebCore::GeolocationService::errorOccurred):
        * platform/GeolocationService.h: Added.
        (WebCore::GeolocationServiceClient::~GeolocationServiceClient):
        (WebCore::GeolocationServiceClient::geolocationServicePositionChanged):
        (WebCore::GeolocationServiceClient::geolocationServiceErrorOccurred):
        (WebCore::GeolocationService::~GeolocationService):

LayoutTests:

2008-10-24  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=21475
        
        Provide support for the Geolocation API
        
        http://dev.w3.org/geo/api/spec-source.html

        Tests to verify Geolocation isn't implemented (so that it didn't leak into 
        WebCore for platforms that do not support it).

        * geolocation: Added.
        * geolocation/geolocation-not-implemented-expected.txt: Added.
        * geolocation/geolocation-not-implemented.html: Added.
        * geolocation/geolocation-test.js: Copied from LayoutTests/media/video-test.js.
        (reset):
        (hanged):
        (watchPositionAndEnd):
        (watchPosition._positionCallback):
        (watchPosition):
        (watchPositionTestAndEnd):
        (watchPositionAndFail):
        (watchPositionAndTest._positionCallback):
        (watchPositionAndTest):
        (getCurrentPositionAndEnd):
        (getCurrentPosition._positionCallback):
        (getCurrentPosition):
        (getCurrentPositionTestAndEnd):
        (getCurrentPositionAndFail):
        (getCurrentPositionAndTest._positionCallback):
        (getCurrentPositionAndTest):
        (endTest):
        (relativeURL):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 98be6d36
2008-10-24 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21475
Provide support for the Geolocation API
http://dev.w3.org/geo/api/spec-source.html
* wtf/Platform.h: ENABLE_GEOLOCATION defaults to 0
2008-10-24 Darin Adler <darin@apple.com>
- finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
......
......@@ -351,6 +351,10 @@
#define ENABLE_SAMPLING_TOOL 0
#endif
#if !defined(ENABLE_GEOLOCATION)
#define ENABLE_GEOLOCATION 0
#endif
// CTI only supports x86 at the moment, and has only been tested on Mac and Windows.
#if !defined(ENABLE_CTI) && PLATFORM(X86) && (PLATFORM(MAC) || PLATFORM(WIN))
#define ENABLE_CTI 1
......
2008-10-24 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21475
Provide support for the Geolocation API
http://dev.w3.org/geo/api/spec-source.html
Tests to verify Geolocation isn't implemented (so that it didn't leak into
WebCore for platforms that do not support it).
* geolocation: Added.
* geolocation/geolocation-not-implemented-expected.txt: Added.
* geolocation/geolocation-not-implemented.html: Added.
* geolocation/geolocation-test.js: Copied from LayoutTests/media/video-test.js.
(reset):
(hanged):
(watchPositionAndEnd):
(watchPosition._positionCallback):
(watchPosition):
(watchPositionTestAndEnd):
(watchPositionAndFail):
(watchPositionAndTest._positionCallback):
(watchPositionAndTest):
(getCurrentPositionAndEnd):
(getCurrentPosition._positionCallback):
(getCurrentPosition):
(getCurrentPositionTestAndEnd):
(getCurrentPositionAndFail):
(getCurrentPositionAndTest._positionCallback):
(getCurrentPositionAndTest):
(endTest):
(relativeURL):
2008-10-24 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler
......
TEST(navigator.geolocation === undefined) OK
TEST(navigator.geolocation == null) OK
TEST(hasGeolocationProperty == false) OK
TEST('geolocation' in navigator == false) OK
TEST(navigator.hasOwnProperty('geolocation') == false) OK
END OF TEST
<body></body>
<script src=geolocation-test.js></script>
<script>
test("navigator.geolocation === undefined");
test("navigator.geolocation == null");
var hasGeolocationProperty = false;
for (var property in navigator) {
hasGeolocationProperty = (property == "geolocation");
if (hasGeolocationProperty)
break;
}
test("hasGeolocationProperty == false");
test("'geolocation' in navigator == false");
test("navigator.hasOwnProperty('geolocation') == false");
endTest();
</script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
var watchID = -1;
var passedPosition = null;
var console = document.createElement('div');
document.body.appendChild(console);
function reset()
{
if (window.layoutTestController) {
layoutTestController.notifyDone();
watchID = -1;
passedPosition = null;
}
}
function hanged()
{
consoleWrite("FAIL: timed out");
reset();
}
setTimeout(hanged, 10000);
function testAndEnd(testFuncString)
{
test(testFuncString, true);
}
function test(testFuncString, endit)
{
if (eval(testFuncString))
consoleWrite("TEST(" + testFuncString + ") <span style='color:green'>OK</span>");
else
consoleWrite("TEST(" + testFuncString + ") <span style='color:red'>FAIL</span>");
if (endit)
endTest();
}
function testExpected(testFuncString, expected)
{
try {
var observed = eval(testFuncString);
} catch (ex) {
consoleWrite(ex);
return;
}
var msg = "expected " + testFuncString + "=='" + expected + "', observed '" + observed + "'";
if (observed == expected)
consoleWrite(msg + " - <span style='color:green'>OK</span>");
else
consoleWrite(msg + " - <span style='color:red'>FAIL</span>");
}
function run(testFuncString)
{
consoleWrite("RUN(" + testFuncString + ")");
try {
eval(testFuncString);
} catch (ex) {
consoleWrite(ex);
}
}
function watchPositionAndEnd(funcString)
{
watchPosition(funcString, true)
}
function watchPosition(func, endit)
{
function _positionCallback(position)
{
passedPosition = position;
test("passedPosition == navigator.geolocation.lastPosition");
consoleWrite("POSITION(" + position + ")");
if (func)
func();
if (endit)
endTest();
}
watchID = navigator.geolocation.watchPosition(_positionCallback);
test("watchID > 0");
}
function watchPositionTestAndEnd(testFuncString)
{
watchPositionAndTest(testFuncString, true);
}
function watchPositionAndFail()
{
watchPositionAndTest("false", true);
}
function watchPositionAndTest(testFuncString, endit)
{
function _positionCallback(position)
{
passedPosition = position;
if (eval(testFuncString))
consoleWrite("POSITION(" + position + ") TEST(" + testFuncString + ") <span style='color:green'>OK</span>");
else
consoleWrite("POSITION(" + position + ") TEST(" + testFuncString + ") <span style='color:red'>FAIL</span>");
if (endit)
endTest();
}
watchID = navigator.geolocation.watchPosition(_positionCallback);
test("watchID > 0");
}
function getCurrentPositionAndEnd(funcString)
{
getCurrentPosition(funcString, true)
}
function getCurrentPosition(func, endit)
{
function _positionCallback(position)
{
passedPosition = position;
consoleWrite("POSITION(" + position + ")");
if (func)
func();
if (endit)
endTest();
}
navigator.geolocation.getCurrentPosition(_positionCallback);
}
function getCurrentPositionTestAndEnd(testFuncString)
{
getCurrentPositionAndTest(testFuncString, true);
}
function getCurrentPositionAndFail()
{
getCurrentPositionAndTest("false", true);
}
function getCurrentPositionAndTest(testFuncString, endit)
{
function _positionCallback(position)
{
passedPosition = position;
if (eval(testFuncString))
consoleWrite("POSITION(" + position + ") TEST(" + testFuncString + ") <span style='color:green'>OK</span>");
else
consoleWrite("POSITION(" + position + ") TEST(" + testFuncString + ") <span style='color:red'>FAIL</span>");
if (endit)
endTest();
}
navigator.geolocation.getCurrentPosition(_positionCallback);
}
function testException(testString, exceptionString)
{
try {
eval(testString);
} catch (ex) {
if (ex.code == eval(exceptionString))
consoleWrite("TEST(" + testString + ") THROWS("+exceptionString+") <span style='color:green'>OK</span>");
else
consoleWrite("TEST(" + testString + ") THROWS("+exceptionString+") <span style='color:red'>FAIL</span>");
}
}
var testEnded = false;
function endTest()
{
consoleWrite("END OF TEST");
testEnded = true;
reset();
}
function endTestLater()
{
setTimeout(endTest, 250);
}
function failTestIn(ms)
{
setTimeout(function () {
consoleWrite("FAIL: did not end fast enough");
endTest();
}, ms);
}
function consoleWrite(text)
{
if (testEnded)
return;
console.innerHTML += text + "<br>";
}
function relativeURL(url)
{
return url.substr(url.indexOf('/geolocation/')+13);
}
\ No newline at end of file
2008-10-24 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21475
Provide support for the Geolocation API
http://dev.w3.org/geo/api/spec-source.html
Test: geolocation/geolocation-not-implemented.html
* DerivedSources.make:
* GNUmakefile.am: Added Geolocation support
* WebCore.pro: Added Geolocation support
* WebCore.vcproj/WebCore.vcproj: Added Geolocation support
* WebCore.xcodeproj/project.pbxproj: Added Geolocation support
* WebCoreSources.bkl: Added Geolocation support
* bindings/js/JSCustomPositionCallback.cpp: Added.
(WebCore::JSCustomPositionCallback::JSCustomPositionCallback):
(WebCore::JSCustomPositionCallback::handleEvent):
* bindings/js/JSCustomPositionCallback.h: Added.
(WebCore::JSCustomPositionCallback::create):
* bindings/js/JSCustomPositionErrorCallback.cpp: Added.
(WebCore::JSCustomPositionErrorCallback::JSCustomPositionErrorCallback):
(WebCore::JSCustomPositionErrorCallback::handleEvent):
* bindings/js/JSCustomPositionErrorCallback.h: Added.
(WebCore::JSCustomPositionErrorCallback::create):
* bindings/js/JSDOMBinding.cpp: move markDOMObjectWrapper here from JSDOMWindowCustom
(WebCore::markDOMObjectWrapper):
* bindings/js/JSDOMBinding.h: move markDOMObjectWrapper here from JSDOMWindowCustom
* bindings/js/JSDOMWindowCustom.cpp: move markDOMObjectWrapper to JSDOMBinding
* bindings/js/JSGeolocationCustom.cpp: Added.
(WebCore::JSGeolocation::getCurrentPosition):
(WebCore::JSGeolocation::watchPosition):
* bindings/js/JSNavigatorCustom.cpp: handle marking Geolocation
(WebCore::JSNavigator::mark):
* dom/Document.cpp:
(WebCore::Document::Document):
* dom/Document.h:
(WebCore::Document::setUsingGeolocation):
(WebCore::Document::usingGeolocation):
* loader/FrameLoader.cpp: don't add to back forward cache if using Geolocation
(WebCore::FrameLoader::canCachePage):
* page/Geolocation.cpp: Added.
(WebCore::Geolocation::GeoNotifier::GeoNotifier):
(WebCore::Geolocation::GeoNotifier::timerFired):
(WebCore::Geolocation::Geolocation):
(WebCore::Geolocation::disconnectFrame):
(WebCore::Geolocation::getCurrentPosition):
(WebCore::Geolocation::watchPosition):
(WebCore::Geolocation::clearWatch):
(WebCore::Geolocation::stopUpdatingIfEmpty):
(WebCore::Geolocation::sendErrorToOneShots):
(WebCore::Geolocation::sendErrorToWatchers):
(WebCore::Geolocation::sendPositionToOneShots):
(WebCore::Geolocation::sendPositionToWatchers):
(WebCore::Geolocation::handleError):
(WebCore::Geolocation::geolocationServicePositionChanged):
(WebCore::Geolocation::geolocationServiceErrorOccurred):
* page/Geolocation.h: Added.
(WebCore::Geolocation::create):
(WebCore::Geolocation::~Geolocation):
(WebCore::Geolocation::lastPosition):
(WebCore::Geolocation::GeoNotifier::create):
* page/Geolocation.idl: Added.
* page/Geoposition.cpp: Added.
(WebCore::Geoposition::toString):
* page/Geoposition.h: Added.
(WebCore::Geoposition::create):
(WebCore::Geoposition::latitude):
(WebCore::Geoposition::longitude):
(WebCore::Geoposition::altitude):
(WebCore::Geoposition::accuracy):
(WebCore::Geoposition::altitudeAccuracy):
(WebCore::Geoposition::heading):
(WebCore::Geoposition::velocity):
(WebCore::Geoposition::timestamp):
(WebCore::Geoposition::Geoposition):
* page/Geoposition.idl: Added.
* page/Navigator.cpp:
(WebCore::Navigator::disconnectFrame): disconnect Geolocation
(WebCore::Navigator::geolocation): accessor for Geolocation
* page/Navigator.h:
(WebCore::Navigator::optionalGeolocation): accessor for Geolocation
* page/Navigator.idl: accessor for Geolocation
* page/PositionCallback.h: Added.
(WebCore::PositionCallback::~PositionCallback):
* page/PositionCallback.idl: Added.
* page/PositionError.h: Added.
(WebCore::PositionError::):
(WebCore::PositionError::create):
(WebCore::PositionError::code):
(WebCore::PositionError::message):
(WebCore::PositionError::PositionError):
* page/PositionError.idl: Added.
* page/PositionErrorCallback.h: Added.
(WebCore::PositionErrorCallback::~PositionErrorCallback):
* page/PositionErrorCallback.idl: Added.
* page/PositionOptions.h: Added.
(WebCore::PositionOptions::create):
(WebCore::PositionOptions::enableHighAccuracy):
(WebCore::PositionOptions::setEnableHighAccuracy):
(WebCore::PositionOptions::timeout):
(WebCore::PositionOptions::setTimeout):
(WebCore::PositionOptions::PositionOptions):
* page/PositionOptions.idl: Added.
* platform/GeolocationService.cpp: Added.
(WebCore::GeolocationService::GeolocationService):
(WebCore::GeolocationService::positionChanged):
(WebCore::GeolocationService::errorOccurred):
* platform/GeolocationService.h: Added.
(WebCore::GeolocationServiceClient::~GeolocationServiceClient):
(WebCore::GeolocationServiceClient::geolocationServicePositionChanged):
(WebCore::GeolocationServiceClient::geolocationServiceErrorOccurred):
(WebCore::GeolocationService::~GeolocationService):
2008-10-24 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler
......
......@@ -93,6 +93,8 @@ DOM_CLASSES = \
EventTargetNode \
File \
FileList \
Geolocation \
Geoposition \
HTMLAnchorElement \
HTMLAppletElement \
HTMLAreaElement \
......@@ -180,6 +182,10 @@ DOM_CLASSES = \
OverflowEvent \
Plugin \
PluginArray \
PositionCallback \
PositionError \
PositionErrorCallback \
PositionOptions \
ProcessingInstruction \
ProgressEvent \
RGBColor \
......
......@@ -209,9 +209,15 @@ IDL_BINDINGS += \
WebCore/page/Console.idl \
WebCore/page/DOMSelection.idl \
WebCore/page/DOMWindow.idl \
WebCore/page/Geolocation.idl \
WebCore/page/Geoposition.idl \
WebCore/page/History.idl \
WebCore/page/Location.idl \
WebCore/page/Navigator.idl \
WebCore/page/PositionCallback.idl \
WebCore/page/PositionError.idl \
WebCore/page/PositionErrorCallback.idl \
WebCore/page/PositionOptions.idl \
WebCore/page/Screen.idl \
WebCore/plugins/MimeType.idl \
WebCore/plugins/MimeTypeArray.idl \
......@@ -325,6 +331,10 @@ webcore_sources += \
WebCore/bindings/js/JSCanvasRenderingContext2DCustom.cpp \
WebCore/bindings/js/JSClipboardCustom.cpp \
WebCore/bindings/js/JSConsoleCustom.cpp \
WebCore/bindings/js/JSCustomPositionCallback.cpp \
WebCore/bindings/js/JSCustomPositionCallback.h \
WebCore/bindings/js/JSCustomPositionErrorCallback.cpp \
WebCore/bindings/js/JSCustomPositionErrorCallback.h \
WebCore/bindings/js/JSCustomVoidCallback.cpp \
WebCore/bindings/js/JSCustomVoidCallback.h \
WebCore/bindings/js/JSCustomXPathNSResolver.cpp \
......@@ -349,6 +359,7 @@ webcore_sources += \
WebCore/bindings/js/JSEventTarget.h \
WebCore/bindings/js/JSEventTargetBase.h \
WebCore/bindings/js/JSEventTargetNodeCustom.cpp \
WebCore/bindings/js/JSGeolocationCustom.cpp \
WebCore/bindings/js/JSHTMLAllCollection.cpp \
WebCore/bindings/js/JSHTMLAllCollection.h \
WebCore/bindings/js/JSHTMLAppletElementCustom.cpp \
......@@ -1190,6 +1201,10 @@ webcore_sources += \
WebCore/page/FrameTree.h \
WebCore/page/FrameView.cpp \
WebCore/page/FrameView.h \
WebCore/page/Geolocation.cpp \
WebCore/page/Geolocation.h \
WebCore/page/Geoposition.cpp \
WebCore/page/Geoposition.h \
WebCore/page/History.cpp \
WebCore/page/History.h \
WebCore/page/Location.cpp \
......@@ -1202,6 +1217,10 @@ webcore_sources += \
WebCore/page/Page.h \
WebCore/page/PageGroup.cpp \
WebCore/page/PageGroup.h \
WebCore/page/PositionCallback.h \
WebCore/page/PositionError.h \
WebCore/page/PositionErrorCallback.h \
WebCore/page/PositionOptions.h \
WebCore/page/PrintContext.cpp \
WebCore/page/PrintContext.h \
WebCore/page/Screen.cpp \
......@@ -1247,6 +1266,8 @@ webcore_sources += \
WebCore/platform/FileChooser.h \
WebCore/platform/FileSystem.h \
WebCore/platform/FloatConversion.h \
WebCore/platform/GeolocationService.cpp \
WebCore/platform/GeolocationService.h \
WebCore/platform/HostWindow.h \
WebCore/platform/KURL.cpp \
WebCore/platform/KURL.h \
......
......@@ -369,6 +369,8 @@ SOURCES += \
bindings/js/JSCSSRuleCustom.cpp \
bindings/js/JSCSSStyleDeclarationCustom.cpp \
bindings/js/JSCSSValueCustom.cpp \
bindings/js/JSCustomPositionCallback.cpp \
bindings/js/JSCustomPositionErrorCallback.cpp \
bindings/js/JSCustomVoidCallback.cpp \
bindings/js/JSCustomXPathNSResolver.cpp \
bindings/js/JSDocumentCustom.cpp \
......@@ -381,6 +383,7 @@ SOURCES += \
bindings/js/JSEventCustom.cpp \
bindings/js/JSEventTarget.cpp \
bindings/js/JSEventTargetNodeCustom.cpp \
bindings/js/JSGeolocationCustom.cpp \
bindings/js/JSHTMLAllCollection.cpp \
bindings/js/JSHistoryCustom.cpp \
bindings/js/JSJavaScriptCallFrameCustom.cpp \
......@@ -777,6 +780,8 @@ SOURCES += \
page/Frame.cpp \
page/FrameTree.cpp \
page/FrameView.cpp \
page/Geolocation.cpp \
page/Geoposition.cpp \
page/History.cpp \
page/Location.cpp \
page/MouseEventWithHitTestResults.cpp \
......@@ -804,6 +809,7 @@ SOURCES += \
platform/DragData.cpp \
platform/DragImage.cpp \
platform/FileChooser.cpp \
platform/GeolocationService.cpp \
platform/graphics/FontDescription.cpp \
platform/graphics/FontFamily.cpp \
platform/graphics/AffineTransform.cpp \
......
......@@ -679,6 +679,14 @@
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSEntityReference.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSGeolocation.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSGeoposition.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSEvent.h"
>
......@@ -1039,6 +1047,14 @@
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSNotation.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSPositionError.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSPositionOptions.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSOverflowEvent.h"
>
......@@ -2259,6 +2275,38 @@
RelativePath="..\page\FrameView.h"
>
</File>
<File
RelativePath="..\page\Geolocation.cpp"
>
<FileConfiguration
Name="Release_PGO|Win32"
>
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="true"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\page\Geolocation.h"
>
</File>
<File
RelativePath="..\page\Geoposition.cpp"
>
<FileConfiguration
Name="Release_PGO|Win32"
>
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="true"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\page\Geoposition.h"
>
</File>
<File
RelativePath="..\page\History.cpp"
>
......@@ -2387,6 +2435,22 @@
RelativePath="..\page\Plugin.h"
>
</File>
<File
RelativePath="..\page\PositionCallback.h"
>
</File>
<File
RelativePath="..\page\PositionError.h"
>
</File>
<File
RelativePath="..\page\PositionErrorCallback.h"
>