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

Issue 185813004: [Geolocation] Attach user gesture indicator to permission request call. (Closed)

Created:
6 years, 9 months ago by Greg Billock
Modified:
6 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Michael van Ouwerkerk
Visibility:
Public.

Description

[Geolocation] Attach user gesture indicator to permission request call. This enables permissions bubble policies that rely on user gesture signals for deciding when/how to show bubble UI for permission requests. BUG=332115 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262963

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : Add android #

Patch Set 6 : plumb through #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Android fixup #

Patch Set 9 : Fix up android Bind with an args struct #

Patch Set 10 : Patch android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -35 lines) Patch
M android_webview/native/aw_geolocation_permission_context.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_geolocation_permission_context.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context.cc View 1 2 3 4 5 6 9 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_android.h View 1 2 3 4 5 6 7 8 9 5 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc View 1 2 3 4 5 6 7 8 9 5 chunks +21 lines, -15 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_geolocation_permission_context.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -3 lines 0 comments Download
M content/browser/geolocation/geolocation_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -2 lines 0 comments Download
M content/common/geolocation_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/browser/geolocation_permission_context.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/geolocation_dispatcher.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 56 (0 generated)
Greg Billock
ready for a look
6 years, 9 months ago (2014-03-05 20:01:59 UTC) #1
jamesr
This bool doesn't appear to be used by anything and there is no bug describing ...
6 years, 9 months ago (2014-03-05 20:41:01 UTC) #2
Greg Billock
We're switching to bubbles for permissions requests (crbug.com/332115). This is groundwork for policy to be ...
6 years, 9 months ago (2014-03-05 20:59:48 UTC) #3
jamesr
Please put that in the description. This patch by itself doesn't seem to do anything ...
6 years, 9 months ago (2014-03-05 21:01:22 UTC) #4
Greg Billock
On 2014/03/05 21:01:22, jamesr wrote: > Please put that in the description. done > This ...
6 years, 9 months ago (2014-03-05 22:56:54 UTC) #5
Michael van Ouwerkerk
This change looks trivial, so it should be fine. I've added the BUG= line. Please ...
6 years, 9 months ago (2014-03-06 11:24:38 UTC) #6
jamesr
lgtm https://codereview.chromium.org/185813004/diff/1/content/browser/geolocation/geolocation_dispatcher_host.cc File content/browser/geolocation/geolocation_dispatcher_host.cc (right): https://codereview.chromium.org/185813004/diff/1/content/browser/geolocation/geolocation_dispatcher_host.cc#newcode164 content/browser/geolocation/geolocation_dispatcher_host.cc:164: bool user_gesture) { please add a TODO() or ...
6 years, 9 months ago (2014-03-06 21:37:43 UTC) #7
Greg Billock
https://codereview.chromium.org/185813004/diff/1/content/browser/geolocation/geolocation_dispatcher_host.cc File content/browser/geolocation/geolocation_dispatcher_host.cc (right): https://codereview.chromium.org/185813004/diff/1/content/browser/geolocation/geolocation_dispatcher_host.cc#newcode164 content/browser/geolocation/geolocation_dispatcher_host.cc:164: bool user_gesture) { On 2014/03/06 21:37:43, jamesr wrote: > ...
6 years, 9 months ago (2014-03-08 17:15:32 UTC) #8
Michael van Ouwerkerk
lgtm
6 years, 9 months ago (2014-03-10 14:02:57 UTC) #9
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 9 months ago (2014-03-14 08:34:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/60001
6 years, 9 months ago (2014-03-14 08:34:36 UTC) #11
Greg Billock
The CQ bit was unchecked by gbillock@chromium.org
6 years, 9 months ago (2014-03-14 08:35:21 UTC) #12
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 9 months ago (2014-03-24 21:38:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/100001
6 years, 9 months ago (2014-03-24 21:41:04 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-24 22:26:27 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=57121
6 years, 9 months ago (2014-03-24 22:26:28 UTC) #16
Greg Billock
On 2014/03/24 22:26:28, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-03-24 23:12:05 UTC) #17
Jói
I'm not an owner for all of //content, just //content/public (which LGTM). See //content/OWNERS.
6 years, 9 months ago (2014-03-25 10:51:03 UTC) #18
mkosiba (inactive)
android_webview/ LGTM
6 years, 9 months ago (2014-03-25 11:24:36 UTC) #19
Fady Samuel
browser_plugin lgtm
6 years, 9 months ago (2014-03-25 14:24:53 UTC) #20
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 9 months ago (2014-03-25 17:08:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/100001
6 years, 9 months ago (2014-03-25 17:08:52 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 17:52:31 UTC) #23
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=57314
6 years, 9 months ago (2014-03-25 17:52:32 UTC) #24
Greg Billock
On 2014/03/25 17:52:32, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-03-25 18:03:47 UTC) #25
Greg Billock
On 2014/03/25 18:03:47, Greg Billock wrote: > On 2014/03/25 17:52:32, I haz the power (commit-bot) ...
6 years, 9 months ago (2014-03-27 22:32:12 UTC) #26
palmer
https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc File content/renderer/geolocation_dispatcher.cc (right): https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc#newcode94 content/renderer/geolocation_dispatcher.cc:94: blink::WebUserGestureIndicator::isProcessingUserGesture())); The trouble is, we can't trust renderers to ...
6 years, 9 months ago (2014-03-28 00:35:05 UTC) #27
Greg Billock
https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc File content/renderer/geolocation_dispatcher.cc (right): https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc#newcode94 content/renderer/geolocation_dispatcher.cc:94: blink::WebUserGestureIndicator::isProcessingUserGesture())); On 2014/03/28 00:35:05, Chromium Palmer wrote: > The ...
6 years, 9 months ago (2014-03-28 15:52:51 UTC) #28
Greg Billock
On 2014/03/28 15:52:51, Greg Billock wrote: > https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc > File content/renderer/geolocation_dispatcher.cc (right): > > https://codereview.chromium.org/185813004/diff/100001/content/renderer/geolocation_dispatcher.cc#newcode94 ...
6 years, 8 months ago (2014-03-31 17:30:26 UTC) #29
Greg Billock
On 2014/03/31 17:30:26, Greg Billock wrote: > On 2014/03/28 15:52:51, Greg Billock wrote: > > ...
6 years, 8 months ago (2014-03-31 23:33:24 UTC) #30
palmer
If the browser is going to rely on information about the presence/absence of a user ...
6 years, 8 months ago (2014-03-31 23:35:32 UTC) #31
Greg Billock
On 2014/03/31 23:35:32, Chromium Palmer wrote: > If the browser is going to rely on ...
6 years, 8 months ago (2014-04-01 15:30:06 UTC) #32
Greg Billock
On 2014/04/01 15:30:06, Greg Billock wrote: > On 2014/03/31 23:35:32, Chromium Palmer wrote: > > ...
6 years, 8 months ago (2014-04-01 20:59:49 UTC) #33
Greg Billock
On 2014/04/01 20:59:49, Greg Billock wrote: > On 2014/04/01 15:30:06, Greg Billock wrote: > > ...
6 years, 8 months ago (2014-04-01 21:01:15 UTC) #34
palmer
On 2014/04/01 15:30:06, Greg Billock wrote: > On 2014/03/31 23:35:32, Chromium Palmer wrote: > > ...
6 years, 8 months ago (2014-04-03 22:30:26 UTC) #35
palmer
+tsepez in case I am confused. He is less likely to be confused than I ...
6 years, 8 months ago (2014-04-03 22:30:56 UTC) #36
Greg Billock
On 2014/04/03 22:30:26, Chromium Palmer wrote: > On 2014/04/01 15:30:06, Greg Billock wrote: > > ...
6 years, 8 months ago (2014-04-03 23:26:12 UTC) #37
palmer
> Ah, yes. That would be a bad vulnerability. This differs from that in at ...
6 years, 8 months ago (2014-04-04 18:06:05 UTC) #38
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 8 months ago (2014-04-04 18:17:34 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/250001
6 years, 8 months ago (2014-04-04 18:17:50 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-04 18:47:40 UTC) #41
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=59667
6 years, 8 months ago (2014-04-04 18:47:41 UTC) #42
Greg Billock
On 2014/04/04 18:47:41, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 8 months ago (2014-04-06 18:52:33 UTC) #43
Tom Sepez
Messages LGTM.
6 years, 8 months ago (2014-04-07 18:37:25 UTC) #44
jam
lgtm
6 years, 8 months ago (2014-04-09 18:43:33 UTC) #45
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 8 months ago (2014-04-09 18:43:55 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/250001
6 years, 8 months ago (2014-04-09 18:44:47 UTC) #47
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 19:49:39 UTC) #48
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=131177
6 years, 8 months ago (2014-04-09 19:49:40 UTC) #49
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 8 months ago (2014-04-10 01:04:12 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/270001
6 years, 8 months ago (2014-04-10 01:04:24 UTC) #51
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 01:54:06 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-10 01:54:07 UTC) #53
Greg Billock
The CQ bit was checked by gbillock@chromium.org
6 years, 8 months ago (2014-04-10 03:11:19 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/185813004/270001
6 years, 8 months ago (2014-04-10 03:11:43 UTC) #55
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 13:26:28 UTC) #56
Message was sent while issue was closed.
Change committed as 262963

Powered by Google App Engine
This is Rietveld 408576698