WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87801
[GTK] Remove geoclue dependency from WebKit API Layer
https://bugs.webkit.org/show_bug.cgi?id=87801
Summary
[GTK] Remove geoclue dependency from WebKit API Layer
Mario Sanchez Prada
Reported
2012-05-29 17:58:59 PDT
Once we have
bug 87800
fixed, we should be able to remove the geoclue dependency from the API layer and write GeolocationClientGtk.cpp in terms of a geoclue-based geolocation provider in WebCore. This bug is for that.
Attachments
Patch proposal
(11.17 KB, patch)
2012-05-29 18:17 PDT
,
Mario Sanchez Prada
no flags
Details
Formatted Diff
Diff
Patch proposal
(10.29 KB, patch)
2012-05-31 02:52 PDT
,
Mario Sanchez Prada
mrobinson
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mario Sanchez Prada
Comment 1
2012-05-29 18:17:04 PDT
Created
attachment 144665
[details]
Patch proposal
Martin Robinson
Comment 2
2012-05-29 18:20:15 PDT
Comment on
attachment 144665
[details]
Patch proposal View in context:
https://bugs.webkit.org/attachment.cgi?id=144665&action=review
> Source/WebKit/gtk/GNUmakefile.am:-60 > - $(GEOCLUE_CFLAGS) \
I'm pretty certain you need to keep these flags here. Note that libxslt is on the list.
> Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.h:62 > + RefPtr<WebCore::GeolocationProviderGeoclue> m_provider;
Instead of making this reference-counted and a pointer, it makes more sense, I think, to just make it a member, ie WebCore::GeolocationProvider m_provider; You can then initialize it like this , m_provider(this)
WebKit Review Bot
Comment 3
2012-05-29 18:20:52 PDT
Attachment 144665
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/gtk/ChangeLog', u'Source/Web..." exit_code: 1 Source/WebKit/gtk/ChangeLog:11: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mario Sanchez Prada
Comment 4
2012-05-31 02:52:38 PDT
Created
attachment 145033
[details]
Patch proposal New patch, addressing issues raised by Martin
Mario Sanchez Prada
Comment 5
2012-06-01 03:07:53 PDT
Thansk for the review, Martin. I will push it as soon as I get the dependencies ready too. Note to myself: fix the following typo in this patch when landing: -void GeolocationClient::notifyErrorOcurred(const char* message) +void GeolocationClient::notifyErrorOccurred(const char* message)
Mario Sanchez Prada
Comment 6
2012-06-04 02:06:42 PDT
Committed
r119376
: <
http://trac.webkit.org/changeset/119376
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug