Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 256843004: Get the WebGeolocationClient from WebFrameClient instead of WebViewClient. (Closed)

Created:
6 years, 8 months ago by jam
Modified:
6 years, 6 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, dglazkov+blink, jamesr, timvolodine, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Get the WebGeolocationClient from WebFrameClient instead of WebViewClient. BUG=304341 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172912 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175404

Patch Set 1 #

Patch Set 2 : Make GeolocationInspectorAgent per page #

Patch Set 3 : fix layouttest, fix webkit_unit_tests crash, remove obsolete layout test #

Total comments: 2

Patch Set 4 : nit #

Patch Set 5 : reupload after revert with fixes #

Patch Set 6 : rebase #

Patch Set 7 : fix include case #

Patch Set 8 : fix linking errors #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -95 lines) Patch
M Source/modules/geolocation/Geolocation.h View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M Source/modules/geolocation/Geolocation.cpp View 1 2 3 4 5 4 chunks +15 lines, -20 lines 0 comments Download
M Source/modules/geolocation/GeolocationClient.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.h View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.cpp View 1 2 3 4 5 6 7 6 chunks +34 lines, -10 lines 0 comments Download
M Source/modules/geolocation/GeolocationInspectorAgent.h View 1 3 chunks +7 lines, -4 lines 0 comments Download
M Source/modules/geolocation/GeolocationInspectorAgent.cpp View 1 4 chunks +20 lines, -8 lines 0 comments Download
M Source/modules/geolocation/testing/GeolocationClientMock.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/geolocation/testing/GeolocationClientMock.cpp View 1 2 3 4 5 6 7 5 chunks +17 lines, -12 lines 0 comments Download
M Source/modules/geolocation/testing/InternalsGeolocation.cpp View 1 2 3 4 5 6 6 chunks +10 lines, -9 lines 1 comment Download
M Source/web/WebLocalFrameImpl.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 4 chunks +5 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 4 chunks +0 lines, -5 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M public/web/WebViewClient.h View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
jam
6 years, 8 months ago (2014-04-25 20:45:07 UTC) #1
jam
actually, hold off on the review. webkit_unit_tests failures brought my attention to a problem.
6 years, 8 months ago (2014-04-25 21:04:55 UTC) #2
jam
changing reviewers to pfeldman Pavel: I've change the patch so that GeolocationInspectorAgent is per page ...
6 years, 7 months ago (2014-04-28 18:08:39 UTC) #3
pfeldman
thanks, lgtm
6 years, 7 months ago (2014-04-28 19:09:15 UTC) #4
jam
On 2014/04/28 19:09:15, pfeldman wrote: > thanks, lgtm ptal, I've fixed a crash that webkit_unit_tests ...
6 years, 7 months ago (2014-04-29 00:16:09 UTC) #5
Michael van Ouwerkerk
Thanks John! lgtm with a minor nit https://codereview.chromium.org/256843004/diff/60001/Source/modules/geolocation/Geolocation.h File Source/modules/geolocation/Geolocation.h (right): https://codereview.chromium.org/256843004/diff/60001/Source/modules/geolocation/Geolocation.h#newcode47 Source/modules/geolocation/Geolocation.h:47: class Page; ...
6 years, 7 months ago (2014-04-29 15:06:19 UTC) #6
jam
https://codereview.chromium.org/256843004/diff/60001/Source/modules/geolocation/Geolocation.h File Source/modules/geolocation/Geolocation.h (right): https://codereview.chromium.org/256843004/diff/60001/Source/modules/geolocation/Geolocation.h#newcode47 Source/modules/geolocation/Geolocation.h:47: class Page; On 2014/04/29 15:06:19, Michael van Ouwerkerk wrote: ...
6 years, 7 months ago (2014-04-29 15:46:01 UTC) #7
jam
The CQ bit was checked by jam@chromium.org
6 years, 7 months ago (2014-04-29 15:47:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/80001
6 years, 7 months ago (2014-04-29 15:47:21 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 16:48:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink
6 years, 7 months ago (2014-04-29 16:48:33 UTC) #11
jam
The CQ bit was checked by jam@chromium.org
6 years, 7 months ago (2014-04-29 17:05:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/80001
6 years, 7 months ago (2014-04-29 17:05:18 UTC) #13
commit-bot: I haz the power
Change committed as 172912
6 years, 7 months ago (2014-04-30 04:13:26 UTC) #14
falken
On 2014/04/30 04:13:26, I haz the power (commit-bot) wrote: > Change committed as 172912 Sorry ...
6 years, 7 months ago (2014-04-30 05:51:06 UTC) #15
jam
mvanouwerkerk: ptal at the changes in Source/modules/geolocation. This change had gotten reverted because it ended ...
6 years, 6 months ago (2014-05-30 22:01:31 UTC) #16
Michael van Ouwerkerk
lgtm Thanks John!
6 years, 6 months ago (2014-06-02 21:18:00 UTC) #17
jam
The CQ bit was checked by jam@chromium.org
6 years, 6 months ago (2014-06-02 22:12:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/120001
6 years, 6 months ago (2014-06-02 22:13:27 UTC) #19
jam
The CQ bit was checked by jam@chromium.org
6 years, 6 months ago (2014-06-02 22:54:19 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/140001
6 years, 6 months ago (2014-06-02 22:54:40 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-03 00:18:39 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 00:46:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/23094)
6 years, 6 months ago (2014-06-03 00:46:22 UTC) #24
jam
The CQ bit was checked by jam@chromium.org
6 years, 6 months ago (2014-06-03 17:45:44 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/160001
6 years, 6 months ago (2014-06-03 17:46:03 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-03 18:58:33 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 20:23:59 UTC) #28
jam
The CQ bit was checked by jam@chromium.org
6 years, 6 months ago (2014-06-03 20:35:07 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jam@chromium.org/256843004/160001
6 years, 6 months ago (2014-06-03 20:35:44 UTC) #30
commit-bot: I haz the power
Change committed as 175404
6 years, 6 months ago (2014-06-03 20:37:40 UTC) #31
kenrb
6 years, 6 months ago (2014-06-04 20:28:48 UTC) #32
Message was sent while issue was closed.
jam: I ran into this with my FrameTree changes...

https://codereview.chromium.org/256843004/diff/160001/Source/modules/geolocat...
File Source/modules/geolocation/testing/InternalsGeolocation.cpp (right):

https://codereview.chromium.org/256843004/diff/160001/Source/modules/geolocat...
Source/modules/geolocation/testing/InternalsGeolocation.cpp:50: for (LocalFrame*
childFrame = document->page()->mainFrame(); childFrame; childFrame =
childFrame->tree().nextSibling())
This loop looks to be entirely redundant, since childFrame is not referenced in
the body. Is it not supposed to be here, or is the loop body wrong?

Powered by Google App Engine
This is Rietveld 408576698